Skip to content

Commit

Permalink
fix(zitadel): put master key in envvars
Browse files Browse the repository at this point in the history
  • Loading branch information
SmaineTF1 committed Nov 13, 2024
1 parent 3015967 commit f2f9671
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions security/base/zitadel/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ spec:
values:
replicaCount: 1
initJob:
backoffLimit: 30 # The database (RDS) takes time to initialize
backoffLimit: 30 # Wait for the CNPG database instance to be ready
zitadel:
# reference: https://zitadel.com/docs/self-hosting/manage/configure
masterkey: ApnB2MUlRa63KRIE0iT1WlM4ZNZOvZF6
configmapConfig:
Log:
Formatter:
Expand All @@ -43,6 +41,18 @@ spec:
MaxConnLifetime: 30m
MaxConnIdleTime: 5m

# reference: https://zitadel.com/docs/self-hosting/manage/configure
# All configuration items are loaded from a secret
# These are the keys that are expected in the secret
# ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD
# ZITADEL_DATABASE_POSTGRES_ADMIN_SSL_MODE
# ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME
# ZITADEL_DATABASE_POSTGRES_USER_PASSWORD
# ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE
# ZITADEL_DATABASE_POSTGRES_USER_USERNAME
# ZITADEL_FIRSTINSTANCE_ORG_HUMAN_PASSWORD
# ZITADEL_FIRSTINSTANCE_ORG_HUMAN_USERNAME
# ZITADEL_MASTERKEY
envVarsSecret: "zitadel-envvars"

# Mount certificate generated by cert-manager
Expand Down

0 comments on commit f2f9671

Please sign in to comment.