From 763025845fe3aaf3f2137fc013a77ea48904f5c0 Mon Sep 17 00:00:00 2001 From: Ryan Bonham <ryanbonham@granular.ag> Date: Mon, 25 Mar 2019 12:34:04 -0500 Subject: [PATCH] Fix liveness/readyness probes, they can not be empty {} --- production/helm/templates/promtail/daemonset.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/production/helm/templates/promtail/daemonset.yaml b/production/helm/templates/promtail/daemonset.yaml index a3bdd627..f9135361 100644 --- a/production/helm/templates/promtail/daemonset.yaml +++ b/production/helm/templates/promtail/daemonset.yaml @@ -57,10 +57,14 @@ spec: name: http-metrics securityContext: {{- toYaml .Values.promtail.securityContext | nindent 12 }} + {{- if .Values.promtail.livenessProbe }} livenessProbe: {{- toYaml .Values.promtail.livenessProbe | nindent 12 }} + {{- end }} + {{- if .Values.promtail.livenessProbe }} readinessProbe: {{- toYaml .Values.promtail.readinessProbe | nindent 12 }} + {{- end }} resources: {{- toYaml .Values.promtail.resources | nindent 12 }} nodeSelector: -- GitLab