Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: setup with secret config #181

Merged
merged 3 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading