[bitnami/rabbitmq] Run secret name through tpl (#3222) (#3445)

This commit is contained in:
Alexandru Mahmoud
2020-08-18 09:53:13 +02:00
committed by GitHub
parent c68342c197
commit 8d0be4f3cd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: rabbitmq
version: 7.6.1
version: 7.6.2
appVersion: 3.8.6
description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
keywords:
+1 -1
View File
@@ -73,7 +73,7 @@ The following table lists the configurable parameters of the RabbitMQ chart and
| `image.debug` | Set to true if you would like to see extra information on logs | `false` |
| `auth.username` | RabbitMQ application username | `user` |
| `auth.password` | RabbitMQ application password | _random 10 character long alphanumeric string_ |
| `auth.existingPasswordSecret` | Existing secret with RabbitMQ credentials | `nil` |
| `auth.existingPasswordSecret` | Existing secret with RabbitMQ credentials | `nil` (evaluated as a template) |
| `auth.erlangCookie` | Erlang cookie | _random 32 character long alphanumeric string_ |
| `auth.existingErlangSecret` | Existing secret with RabbitMQ Erlang cookie | `nil` |
| `auth.tls.enabled` | Enable TLS support on RabbitMQ | `false` |
+1 -1
View File
@@ -64,7 +64,7 @@ Get the password secret.
*/}}
{{- define "rabbitmq.secretPasswordName" -}}
{{- if .Values.auth.existingPasswordSecret -}}
{{- printf "%s" .Values.auth.existingPasswordSecret -}}
{{- printf "%s" (tpl .Values.auth.existingPasswordSecret $) -}}
{{- else -}}
{{- printf "%s" (include "rabbitmq.fullname" .) -}}
{{- end -}}