@@ -140,6 +140,9 @@ spec:
140140 heritage : {{ .Release.Service }}
141141 annotations :
142142 checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
143+ {{- if $.Values.secrets.st2.datastore_crypto_key }}
144+ checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
145+ {{- end }}
143146 spec :
144147 imagePullSecrets :
145148 {{- if .Values.enterprise.enabled }}
@@ -438,6 +441,9 @@ spec:
438441 heritage : {{ .Release.Service }}
439442 annotations :
440443 checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
444+ {{- if $.Values.secrets.st2.datastore_crypto_key }}
445+ checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
446+ {{- end }}
441447 spec :
442448 {{- if .Values.enterprise.enabled }}
443449 imagePullSecrets :
@@ -602,6 +608,9 @@ spec:
602608 heritage : {{ .Release.Service }}
603609 annotations :
604610 checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
611+ {{- if $.Values.secrets.st2.datastore_crypto_key }}
612+ checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
613+ {{- end }}
605614 spec :
606615 {{- if .Values.enterprise.enabled }}
607616 imagePullSecrets :
@@ -843,6 +852,9 @@ spec:
843852 annotations :
844853 checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") $ | sha256sum }}
845854 checksum/packs : {{ include (print $.Template.BasePath "/configmaps_packs.yaml") $ | sha256sum }}
855+ {{- if $.Values.secrets.st2.datastore_crypto_key }}
856+ checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
857+ {{- end }}
846858 spec :
847859 imagePullSecrets :
848860 {{- if $.Values.enterprise.enabled }}
@@ -998,6 +1010,9 @@ spec:
9981010 annotations :
9991011 checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
10001012 checksum/ssh : {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }}
1013+ {{- if $.Values.secrets.st2.datastore_crypto_key }}
1014+ checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
1015+ {{- end }}
10011016 spec :
10021017 {{- if .Values.st2actionrunner.hostAliases }}
10031018 hostAliases :
@@ -1229,6 +1244,9 @@ spec:
12291244 checksum/packs : {{ include (print $.Template.BasePath "/configmaps_packs.yaml") . | sha256sum }}
12301245 checksum/auth : {{ include (print $.Template.BasePath "/secrets_st2auth.yaml") . | sha256sum }}
12311246 checksum/ssh : {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }}
1247+ {{- if $.Values.secrets.st2.datastore_crypto_key }}
1248+ checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
1249+ {{- end }}
12321250 spec :
12331251 imagePullSecrets :
12341252 {{- if .Values.enterprise.enabled }}
0 commit comments