Skip to content

Commit 9e84acd

Browse files
committed
Do not template rabbitmq secrets file unless rabbitmq subchart is enabled.
1 parent 3ba85e6 commit 9e84acd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* Add preRegisterContentCommand in an initContainer for register-content job to run last-minute content customizations (#213) (by @cognifloyd)
2222
* 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)
2323
* Minimize required sensor config by using default values from st2sensorcontainer for each sensor in st2.packs.sensors (#221) (by @cognifloyd)
24+
* Do not template rabbitmq secrets file unless rabbitmq subchart is enabled. (#242) (by @cognifloyd)
2425

2526
## v0.60.0
2627
* Switch st2 version to `v3.5dev` as a new latest development version (#187)

templates/secrets_rabbitmq.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.rabbitmq.enabled }}
12
# This configuration is a workaround to https://github.com/bitnami/charts/issues/4635
23
# This code block should be dropped once the above issue is resolved and definitions can be defined as shown in
34
# https://github.com/bitnami/charts/tree/master/bitnami/rabbitmq#load-definitions
@@ -18,3 +19,4 @@ metadata:
1819
type: Opaque
1920
data:
2021
rabbitmq-definitions.json: {{ tpl (.Files.Get "conf/rabbit-definition.conf") . | b64enc }}
22+
{{- end }}

0 commit comments

Comments
 (0)