Skip to content

Commit

Permalink
fix: add dsn in stateful set and cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
dlahn committed May 14, 2024
1 parent 9cd6220 commit 8f88757
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hacks/values/kratos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,12 @@ statefulSet:
extraArgs:
- --expose-metrics-port
- "8080"
extraEnv:
- name: DSN
valueFrom:
secretKeyRef:
name: dsn-secret
key: dsn
podMetadata:
labels:
ory.sh/pod_label: kratos_courier
Expand Down Expand Up @@ -343,6 +349,12 @@ cronjob:
ory.sh/pod_annotation: kratos
podSecurityContext:
runAsNonRoot: true
extraEnv:
- name: DSN
valueFrom:
secretKeyRef:
name: dsn-secret
key: dsn

serviceMonitor:
enabled: true
Expand Down

0 comments on commit 8f88757

Please sign in to comment.