Skip to content

Commit fad93b0

Browse files
authored
Merge branch 'master' into sensor-defaults
2 parents de6264c + c3725b0 commit fad93b0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* Make system_user configurable when using custom st2actionrunner images that do not provide stanley (#220) (by @cognifloyd)
1919
* Allow providing scripts in values for use in lifecycle postStart hooks of all deployments. (#206) (by @cognifloyd)
2020
* Add preRegisterContentCommand in an initContainer for register-content job to run last-minute content customizations (#213) (by @cognifloyd)
21+
* Fix a bug when datastore cryto keys are not able to read by the rules engine. ``datastore_crypto_key`` volume is now mounted on the ``st2rulesengine`` pods (#223) (by @moti1992)
2122
* Minimize required sensor config by using default values from st2sensorcontainer for each sensor in st2.packs.sensors (#221) (by @cognifloyd)
2223

2324
## v0.60.0

templates/deployments.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ spec:
506506
heritage: {{ .Release.Service }}
507507
annotations:
508508
checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
509+
checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
509510
{{- if .Values.st2rulesengine.postStartScript }}
510511
checksum/post-start-script: {{ .Values.st2rulesengine.postStartScript | sha256sum }}
511512
{{- end }}
@@ -532,6 +533,11 @@ spec:
532533
name: {{ .Release.Name }}-st2-urls
533534
volumeMounts:
534535
{{- include "st2-config-volume-mounts" . | nindent 8 }}
536+
{{- if .Values.st2.datastore_crypto_key }}
537+
- name: st2-encryption-key-vol
538+
mountPath: /etc/st2/keys
539+
readOnly: true
540+
{{- end }}
535541
{{- if .Values.st2rulesengine.postStartScript }}
536542
- name: st2-post-start-script-vol
537543
mountPath: /post-start.sh

0 commit comments

Comments
 (0)