Skip to content

Commit 0856933

Browse files
committed
fix messed up templating
1 parent 3390cd5 commit 0856933

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/deployments.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1145,8 +1145,8 @@ spec:
11451145
annotations:
11461146
checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") $ | sha256sum }}
11471147
checksum/packs: {{ include (print $.Template.BasePath "/configmaps_packs.yaml") $ | sha256sum }}
1148-
{{- if and (ne "disable" (default "" .Values.st2.datastore_crypto_key)) (not .Values.st2.existingDatastoreSecret) }}
1149-
checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
1148+
{{- if and (ne "disable" (default "" $.Values.st2.datastore_crypto_key)) (not $.Values.st2.existingDatastoreSecret) }}
1149+
checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") $ | sha256sum }}
11501150
{{- end }}
11511151
{{- if $.Values.st2sensorcontainer.postStartScript }}
11521152
checksum/post-start-script: {{ $.Values.st2sensorcontainer.postStartScript | sha256sum }}

0 commit comments

Comments
 (0)