Skip to content

Commit

Permalink
fix: setup with secret config (zitadel#181)
Browse files Browse the repository at this point in the history
* fix: setup with secret config

* patch
  • Loading branch information
eliobischof committed Mar 11, 2024
1 parent f3bd230 commit 58fbd96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/zitadel/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: zitadel
description: A Helm chart for ZITADEL
type: application
appVersion: "v2.46.0"
version: 7.9.1
version: 7.9.2
kubeVersion: ">= 1.21.0-0"
icon: https://zitadel.com/zitadel-logo-dark.svg
maintainers:
Expand Down
10 changes: 7 additions & 3 deletions charts/zitadel/templates/setupjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,23 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- setup
- --masterkeyFromEnv
- --config
- /config/zitadel-config-yaml
- --steps
- /config/zitadel-config-yaml
{{- if .Values.zitadel.secretConfig }}
- --config
- /.secrets/zitadel-secrets-yaml/zitadel-secrets-yaml
- --steps
- /.secrets/zitadel-secrets-yaml/zitadel-secrets-yaml
{{- end }}
{{- if and .Values.zitadel.configSecretName .Values.zitadel.configSecretKey }}
- --config
- /.secrets/zitadel-secret-config-yaml/{{ .Values.zitadel.configSecretKey }}
{{- end }}
- --steps
- /config/zitadel-config-yaml
- --masterkeyFromEnv
- /.secrets/zitadel-secret-config-yaml/{{ .Values.zitadel.configSecretKey }}
{{- end }}
{{- if .Values.setupJob.additionalArgs }}
{{- toYaml .Values.setupJob.additionalArgs | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 58fbd96

Please sign in to comment.