From 161a43d2805797cfcc97ec9d625e8cb324d89ea2 Mon Sep 17 00:00:00 2001 From: Yann Soubeyrand Date: Thu, 12 Dec 2024 09:53:19 +0100 Subject: [PATCH] fix: follow up on database certificates properties renaming Signed-off-by: Yann Soubeyrand --- charts/zitadel/Chart.yaml | 2 +- charts/zitadel/templates/debug_replicaset.yaml | 2 +- charts/zitadel/templates/deployment.yaml | 2 +- ...b-ssl-root-crt.yaml => secret_db-ssl-ca-crt.yaml} | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) rename charts/zitadel/templates/{secret_db-ssl-root-crt.yaml => secret_db-ssl-ca-crt.yaml} (59%) diff --git a/charts/zitadel/Chart.yaml b/charts/zitadel/Chart.yaml index af56c718..26d0906d 100644 --- a/charts/zitadel/Chart.yaml +++ b/charts/zitadel/Chart.yaml @@ -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: diff --git a/charts/zitadel/templates/debug_replicaset.yaml b/charts/zitadel/templates/debug_replicaset.yaml index 38794ffd..f716cf34 100644 --- a/charts/zitadel/templates/debug_replicaset.yaml +++ b/charts/zitadel/templates/debug_replicaset.yaml @@ -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 }} diff --git a/charts/zitadel/templates/deployment.yaml b/charts/zitadel/templates/deployment.yaml index 73c6df88..54198ddb 100644 --- a/charts/zitadel/templates/deployment.yaml +++ b/charts/zitadel/templates/deployment.yaml @@ -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 diff --git a/charts/zitadel/templates/secret_db-ssl-root-crt.yaml b/charts/zitadel/templates/secret_db-ssl-ca-crt.yaml similarity index 59% rename from charts/zitadel/templates/secret_db-ssl-root-crt.yaml rename to charts/zitadel/templates/secret_db-ssl-ca-crt.yaml index 55832704..4360e95b 100644 --- a/charts/zitadel/templates/secret_db-ssl-root-crt.yaml +++ b/charts/zitadel/templates/secret_db-ssl-ca-crt.yaml @@ -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 }} @@ -18,5 +18,5 @@ metadata: {{- include "zitadel.labels" . | nindent 4 }} stringData: ca.crt: |- -{{ .Values.zitadel.dbSslRootCrt | default "" | nindent 6 }} -{{- end }} \ No newline at end of file +{{ .Values.zitadel.dbSslCaCrt | default "" | nindent 6 }} +{{- end }}