Skip to content

Commit d4e747d

Browse files
removed conditional datastore key checksum, always generate a checksum
1 parent c67d2a2 commit d4e747d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

templates/deployments.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,7 @@ spec:
143143
heritage: {{ .Release.Service }}
144144
annotations:
145145
checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
146-
{{- if $.Values.secrets.st2.datastore_crypto_key }}
147146
checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
148-
{{- end }}
149147
spec:
150148
imagePullSecrets:
151149
{{- if .Values.enterprise.enabled }}
@@ -618,9 +616,7 @@ spec:
618616
heritage: {{ .Release.Service }}
619617
annotations:
620618
checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
621-
{{- if $.Values.secrets.st2.datastore_crypto_key }}
622619
checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
623-
{{- end }}
624620
spec:
625621
{{- if .Values.enterprise.enabled }}
626622
imagePullSecrets:
@@ -871,9 +867,7 @@ spec:
871867
annotations:
872868
checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") $ | sha256sum }}
873869
checksum/packs: {{ include (print $.Template.BasePath "/configmaps_packs.yaml") $ | sha256sum }}
874-
{{- if $.Values.secrets.st2.datastore_crypto_key }}
875870
checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") $ | sha256sum }}
876-
{{- end }}
877871
{{- if .annotations }}
878872
{{ toYaml .annotations | indent 8 }}
879873
{{- end }}
@@ -1035,9 +1029,7 @@ spec:
10351029
annotations:
10361030
checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
10371031
checksum/ssh: {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }}
1038-
{{- if $.Values.secrets.st2.datastore_crypto_key }}
10391032
checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
1040-
{{- end }}
10411033
{{- if .Values.st2actionrunner.annotations }}
10421034
{{ toYaml .Values.st2actionrunner.annotations | indent 8 }}
10431035
{{- end }}
@@ -1278,9 +1270,7 @@ spec:
12781270
checksum/packs: {{ include (print $.Template.BasePath "/configmaps_packs.yaml") . | sha256sum }}
12791271
checksum/auth: {{ include (print $.Template.BasePath "/secrets_st2auth.yaml") . | sha256sum }}
12801272
checksum/ssh: {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }}
1281-
{{- if $.Values.secrets.st2.datastore_crypto_key }}
12821273
checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
1283-
{{- end }}
12841274
spec:
12851275
imagePullSecrets:
12861276
{{- if .Values.enterprise.enabled }}

0 commit comments

Comments
 (0)