Skip to content

Commit

Permalink
studio: Always pass SECRET_KEY (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper7 authored Dec 1, 2022
1 parent a415f37 commit c828a33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions charts/studio/templates/_env_vars.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c828a33

Please sign in to comment.