From c828a33a37653d5551bfa46feff8daf411170391 Mon Sep 17 00:00:00 2001 From: Jesper Svendsen <99078145+jesper7@users.noreply.github.com> Date: Thu, 1 Dec 2022 09:55:26 +0100 Subject: [PATCH] studio: Always pass SECRET_KEY (#14) --- charts/studio/Chart.yaml | 2 +- charts/studio/templates/_env_vars.tpl | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/charts/studio/Chart.yaml b/charts/studio/Chart.yaml index cba85f66..1f801b95 100644 --- a/charts/studio/Chart.yaml +++ b/charts/studio/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/studio/templates/_env_vars.tpl b/charts/studio/templates/_env_vars.tpl index 6b1d9b26..d3654d9c 100644 --- a/charts/studio/templates/_env_vars.tpl +++ b/charts/studio/templates/_env_vars.tpl @@ -134,14 +134,10 @@ value: "psql://{{ .Values.global.secrets.postgresDatabaseUser}}:{{ .Values.global.secrets.postgresDatabasePassword }}@{{ .Values.global.configurations.postgresDatabaseUrl }}" - name: SECRET_KEY -{{- if .Values.global.secrets.secretKey }} valueFrom: secretKeyRef: name: studio key: secretKey -{{- else }} - value: "" -{{- end }} - name: GITHUB_APP_ID {{- if .Values.global.secrets.githubAppId }}