diff --git a/freeleaps-devops-reconciler/helm-pkg/reconciler/templates/deployment.yaml b/freeleaps-devops-reconciler/helm-pkg/reconciler/templates/deployment.yaml index 1a41fda0..89bc5ca2 100644 --- a/freeleaps-devops-reconciler/helm-pkg/reconciler/templates/deployment.yaml +++ b/freeleaps-devops-reconciler/helm-pkg/reconciler/templates/deployment.yaml @@ -43,10 +43,8 @@ spec: {{- include "freeleaps-devops-reconciler.env" . | nindent 12 }} {{- if .Values.healthcheck.livenessProbe.enabled }} livenessProbe: - {{- with .Values.healthcheck.livenessProbe.httpGet }} httpGet: - {{- toYaml . | nindent 14 }} - {{- end }} + {{- toYaml .Values.healthcheck.livenessProbe.httpGet | nindent 14 }} initialDelaySeconds: {{ .Values.healthcheck.livenessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.healthcheck.livenessProbe.periodSeconds }} timeoutSeconds: {{ .Values.healthcheck.livenessProbe.timeoutSeconds }} @@ -54,10 +52,8 @@ spec: {{- end }} {{- if .Values.healthcheck.readinessProbe.enabled }} readinessProbe: - {{- with .Values.healthcheck.readinessProbe.httpGet }} httpGet: - {{- toYaml . | nindent 14 }} - {{- end }} + {{- toYaml .Values.healthcheck.readinessProbe.httpGet | nindent 14 }} initialDelaySeconds: {{ .Values.healthcheck.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.healthcheck.readinessProbe.periodSeconds }} timeoutSeconds: {{ .Values.healthcheck.readinessProbe.timeoutSeconds }}