RabbitMQ: remove default user config

Now that we explicity declare there is no need to define the default
username and password.

Change-Id: I95e41c411c2a86ae527283d5dc13b8a1f65b513a
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2019-03-19 23:20:19 -05:00 committed by Pete Birley
parent 84f30ec103
commit 984f8446cb

View File

@ -23,13 +23,6 @@ limitations under the License.
{{- $_ := print "0.0.0.0:" ( tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup") | set $envAll.Values.conf.rabbitmq.listeners.tcp "1" -}}
{{- if empty $envAll.Values.conf.rabbitmq.default_user -}}
{{- $_ := set $envAll.Values.conf.rabbitmq "default_user" $envAll.Values.endpoints.oslo_messaging.auth.user.username -}}
{{- end -}}
{{- if empty $envAll.Values.conf.rabbitmq.default_pass -}}
{{- $_ := set $envAll.Values.conf.rabbitmq "default_pass" $envAll.Values.endpoints.oslo_messaging.auth.user.password -}}
{{- end -}}
---
apiVersion: v1
kind: ConfigMap