From 8567858904b3da0a43a05ea8d91165bfe92a9360 Mon Sep 17 00:00:00 2001 From: tompizmor Date: Fri, 25 Oct 2019 09:03:48 +0200 Subject: [PATCH] Avoid rendering probes switches --- bitnami/grafana/templates/deployment.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bitnami/grafana/templates/deployment.yaml b/bitnami/grafana/templates/deployment.yaml index 6efa4c95cf..ce9c9fea78 100644 --- a/bitnami/grafana/templates/deployment.yaml +++ b/bitnami/grafana/templates/deployment.yaml @@ -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: