From a8063cfc32967cf26b7a6de05f1ec2f7494de786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Wed, 18 Nov 2020 12:18:05 +0100 Subject: [PATCH] fix(helm): environment variable is set as boolean instead of string --- charts/listory/templates/deployment.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/listory/templates/deployment.yaml b/charts/listory/templates/deployment.yaml index 33cd8ee..6005dca 100644 --- a/charts/listory/templates/deployment.yaml +++ b/charts/listory/templates/deployment.yaml @@ -54,10 +54,13 @@ spec: - name: SPOTIFY_USER_FILTER value: {{ .Values.spotify.userFilter }} + {{- if .Values.sentry.enabled }} - name: SENTRY_ENABLED - value: {{ .Values.sentry.enabled }} + value: "true" - name: SENTRY_DSN value: {{ .Values.sentry.dsn }} + {{- end }} + securityContext: {{- toYaml .Values.securityContext | nindent 12 }} ports: