Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Add possibility to define custom readinessProbe (#485)
Browse files Browse the repository at this point in the history
* Add custom readinessprobe possibility

* Fix README indent

* values.yaml whitespaces

* revert back to default values

* Revert back and move readinessProbe value
  • Loading branch information
mschmidt291 committed Mar 6, 2020
1 parent 66602b9 commit 4beb224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elasticsearch/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ spec:
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
imagePullPolicy: "{{ .Values.imagePullPolicy }}"
readinessProbe:
{{ toYaml .Values.readinessProbe | indent 10 }}
exec:
command:
- sh
Expand Down Expand Up @@ -226,6 +225,7 @@ spec:
exit 1
fi
fi
{{ toYaml .Values.readinessProbe | indent 10 }}
ports:
- name: http
containerPort: {{ .Values.httpPort }}
Expand Down Expand Up @@ -352,4 +352,4 @@ spec:
{{- end }}
{{- if .Values.extraContainers }}
{{ tpl .Values.extraContainers . | indent 6 }}
{{- end }}
{{- end }}

0 comments on commit 4beb224

Please sign in to comment.