Avoid rendering probes switches

This commit is contained in:
tompizmor
2019-10-25 09:03:48 +02:00
parent f55b1fb949
commit 8567858904
+10 -2
View File
@@ -112,14 +112,22 @@ spec:
httpGet:
path: /
port: dashboard
{{ toYaml .Values.livenessProbe | indent 10 }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
successThreshold: {{ .Values.livenessProbe.successThreshold }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
{{- end }}
{{- if .Values.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /
port: dashboard
{{ toYaml .Values.readinessProbe | indent 10 }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
successThreshold: {{ .Values.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
{{- end }}
resources: {{- toYaml .Values.resources | nindent 10 }}
volumes: