mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
Avoid rendering probes switches
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user