File tree Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 22
33## In Development
44
5+ ## v0.13.0
6+ * Mongodb authentication is enabled by default (#63 )
7+
58## v0.12.0
69* Move ` st2web.annotations ` to ` st2web.service.annotations ` to match ` values.yaml ` (#66 )
710
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v1
22# Update StackStorm version here to rely on other Docker images tags
33appVersion : 3.0dev
44name : stackstorm-ha
5- version : 0.12 .0
5+ version : 0.13 .0
66description : StackStorm K8s Helm Chart, optimized for running StackStorm in HA environment.
77home : https://stackstorm.com/#product
88icon : https://avatars1.githubusercontent.com/u/4969009
Original file line number Diff line number Diff line change 2727 url = amqp://{{ required "rabbitmq-ha.rabbitmqUsername is required!" (index .Values "rabbitmq-ha" "rabbitmqUsername") }}:{{ required "rabbitmq-ha.rabbitmqPassword is required!" (index .Values "rabbitmq-ha" "rabbitmqPassword") }}@{{ .Release.Name }}-rabbitmq-ha-discovery:5672
2828 [database]
2929 # TODO: ReplicaSet connection string needs templating based on number of MongoDB nodes
30+ {{- if index .Values "mongodb-ha" "auth" "enabled" }}
31+ host = mongodb://{{ required "mongodb-ha.auth.adminUser is required!" (index .Values "mongodb-ha" "auth" "adminUser") }}:{{ required "mongodb-ha.auth.adminPassword is required!" (index .Values "mongodb-ha" "auth" "adminPassword") }}@{{ .Release.Name }}-mongodb-ha/?authSource=admin&replicaSet=rs0
32+ {{ else }}
3033 host = mongodb://{{ .Release.Name }}-mongodb-ha/?replicaSet=rs0
34+ {{- end }}
3135
3236 # User-defined st2 config with custom settings applied on top of everything else.
3337 # The order of merging: st2.conf < st2.docker.conf < st2.user.conf
Original file line number Diff line number Diff line change @@ -398,6 +398,13 @@ mongodb-ha:
398398 image :
399399 # StackStorm currently supports maximum MongoDB v3.4
400400 tag : 3.4
401+ auth :
402+ enabled : true
403+ # NB! It's highly recommended to change ALL defaults!
404+ adminUser : " admin"
405+ adminPassword : " XeL5Rxwj7F0Wt43tFZVTN7H8Sg5XDHmK"
406+ # Minimal key length is 6 symbols
407+ key : " 82PItDpqroti5RngOA7UqbHH7c6bFUwy"
401408
402409# #
403410# # RabbitMQ HA configuration (3rd party chart dependency)
You can’t perform that action at this time.
0 commit comments