Skip to content

Commit

Permalink
fix: follow up on database certificates properties renaming
Browse files Browse the repository at this point in the history
Signed-off-by: Yann Soubeyrand <[email protected]>
  • Loading branch information
yann-soubeyrand committed Dec 12, 2024
1 parent 680cf0b commit 161a43d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 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.65.3
version: 8.7.1
version: 8.7.2
kubeVersion: '>= 1.21.0-0'
icon: https://zitadel.com/zitadel-logo-dark.svg
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/zitadel/templates/debug_replicaset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
metadata:
annotations:
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret-db-ssl-root-crt: {{ include (print $.Template.BasePath "/secret_db-ssl-root-crt.yaml") . | sha256sum }}
checksum/secret-db-ssl-ca-crt: {{ include (print $.Template.BasePath "/secret_db-ssl-ca-crt.yaml") . | sha256sum }}
checksum/secret-zitadel-secrets: {{ include (print $.Template.BasePath "/secret_zitadel-secrets.yaml") . | sha256sum }}
labels:
{{- include "zitadel.debugSelectorLabels" . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/zitadel/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret-db-ssl-root-crt: {{ include (print $.Template.BasePath "/secret_db-ssl-root-crt.yaml") . | sha256sum }}
checksum/secret-db-ssl-ca-crt: {{ include (print $.Template.BasePath "/secret_db-ssl-ca-crt.yaml") . | sha256sum }}
checksum/secret-zitadel-secrets: {{ include (print $.Template.BasePath "/secret_zitadel-secrets.yaml") . | sha256sum }}
labels:
app.kubernetes.io/component: start
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{{- if .Values.zitadel.dbSslRootCrt }}
{{- if .Values.zitadel.dbSslCaCrt }}
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: db-ssl-root-crt
name: db-ssl-ca-crt
annotations:
{{- if .Values.zitadel.dbSslRootCrtAnnotations }}
{{- with .Values.zitadel.dbSslRootCrtAnnotations }}
{{- if .Values.zitadel.dbSslCaCrtAnnotations }}
{{- with .Values.zitadel.dbSslCaCrtAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- else }}
Expand All @@ -18,5 +18,5 @@ metadata:
{{- include "zitadel.labels" . | nindent 4 }}
stringData:
ca.crt: |-
{{ .Values.zitadel.dbSslRootCrt | default "" | nindent 6 }}
{{- end }}
{{ .Values.zitadel.dbSslCaCrt | default "" | nindent 6 }}
{{- end }}

0 comments on commit 161a43d

Please sign in to comment.