Skip to content

Commit

Permalink
env vars for webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
roschaefer committed Nov 5, 2024
1 parent d120d82 commit 55fdd9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ConfigMap
apiVersion: v1
metadata:
name: {{ .Release.Name }}-webapp-env
data:
{{ .Values.webapp.env | toYaml | indent 2 }}
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ spec:
- name: GRAPHQL_URI
value: "http://{{ .Release.Name }}-backend:4000"
envFrom:
- configMapRef:
name: {{ .Release.Name }}-webapp-env
- secretRef:
name: {{ .Release.Name }}-webapp-secret-env

0 comments on commit 55fdd9e

Please # to comment.