File tree 5 files changed +24
-24
lines changed
5 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 18
18
metadata :
19
19
annotations :
20
20
checksum/configmap : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
21
- checksum/secret-db-ssl-root -crt : {{ include (print $.Template.BasePath "/secret_db-ssl-root -crt.yaml") . | sha256sum }}
21
+ checksum/secret-db-ssl-ca -crt : {{ include (print $.Template.BasePath "/secret_db-ssl-ca -crt.yaml") . | sha256sum }}
22
22
checksum/secret-zitadel-secrets : {{ include (print $.Template.BasePath "/secret_zitadel-secrets.yaml") . | sha256sum }}
23
23
labels :
24
24
{{- include "zitadel.debugSelectorLabels" . | nindent 8 }}
Original file line number Diff line number Diff line change 21
21
{{- toYaml . | nindent 8 }}
22
22
{{- end }}
23
23
checksum/configmap : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
24
- checksum/secret-db-ssl-root -crt : {{ include (print $.Template.BasePath "/secret_db-ssl-root -crt.yaml") . | sha256sum }}
24
+ checksum/secret-db-ssl-ca -crt : {{ include (print $.Template.BasePath "/secret_db-ssl-ca -crt.yaml") . | sha256sum }}
25
25
checksum/secret-zitadel-secrets : {{ include (print $.Template.BasePath "/secret_zitadel-secrets.yaml") . | sha256sum }}
26
26
labels :
27
27
app.kubernetes.io/component : start
Original file line number Diff line number Diff line change
1
+ {{- if .Values.zitadel.dbSslCaCrt }}
2
+ apiVersion : v1
3
+ kind : Secret
4
+ type : Opaque
5
+ metadata :
6
+ name : db-ssl-ca-crt
7
+ {{- with .Values.zitadel.dbSslCaCrtAnnotations }}
8
+ annotations :
9
+ {{- toYaml . | nindent 4 }}
10
+ {{- end }}
11
+ labels :
12
+ {{- include "zitadel.labels" . | nindent 4 }}
13
+ stringData :
14
+ ca.crt : |-
15
+ {{ .Values.zitadel.dbSslCaCrt | default "" | nindent 6 }}
16
+ {{- end }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,6 +44,12 @@ zitadel:
44
44
# The CA Certificate needed for establishing secure database connections
45
45
dbSslCaCrt : " "
46
46
47
+ # Annotations set on database SSL CA certificate secret
48
+ dbSslCaCrtAnnotations :
49
+ helm.sh/hook : pre-install,pre-upgrade
50
+ helm.sh/hook-delete-policy : before-hook-creation
51
+ helm.sh/hook-weight : " 0"
52
+
47
53
# The Secret containing the CA certificate at key ca.crt needed for establishing secure database connections
48
54
dbSslCaCrtSecret : " "
49
55
You can’t perform that action at this time.
0 commit comments