mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
make liveness probe conditional (#4612)
This commit is contained in:
committed by
Michael Goodness
parent
1960aeac0d
commit
f0bdfde774
@@ -65,6 +65,7 @@ spec:
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.host.port }}
|
||||
{{- if .Values.probe }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
@@ -75,6 +76,7 @@ spec:
|
||||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 1
|
||||
{{- end }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
{{- if .Values.host.iptables }}
|
||||
|
||||
@@ -37,6 +37,8 @@ podAnnotations: {}
|
||||
|
||||
podLabels: {}
|
||||
|
||||
probe: true
|
||||
|
||||
rbac:
|
||||
## If true, create & use RBAC resources
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user