Skip to content

Commit

Permalink
added the ability to configure the omdb api key
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 18, 2023
1 parent 57774cd commit 79c0090
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
value: "true"
- name: APNS_P8_FILE_PATH
value: /etc/apns_auth_key.p8
- name: OMDB_API_KEY
valueFrom:
secretKeyRef:
name: backend-api-keys
key: OMDB_API_KEY
- name: SENTRY_DSN
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -147,6 +152,7 @@ metadata:
app.kubernetes.io/part-of: tum-campus-app
app.kubernetes.io/name: backend-v2
data:
OMDB_API_KEY: {{ $.Values.backend.omdbApiKey | b64enc }}
CAMPUS_API_TOKEN: {{ $.Values.backend.campusApiToken | b64enc }}
SENTRY_DSN: {{ $.Values.backend.sentry.dsn | b64enc }}
apns_auth_key.p8: {{ $.Values.backend.apns.auth_key }}
Expand Down
1 change: 1 addition & 0 deletions deployment/charts/backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ mariadb:


backend:
omdbApiKey: changeme-changeme-changeme
campusApiToken: changeme-changeme-changeme
sentry:
dsn: changeme-changeme-changeme
Expand Down

0 comments on commit 79c0090

Please sign in to comment.