make liveness probe conditional (#4612)

This commit is contained in:
Khris Richardson
2018-04-03 11:56:27 -05:00
committed by Michael Goodness
parent 1960aeac0d
commit f0bdfde774
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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 }}
+2
View File
@@ -37,6 +37,8 @@ podAnnotations: {}
podLabels: {}
probe: true
rbac:
## If true, create & use RBAC resources
##