mirror of
https://github.com/bitnami/charts.git
synced 2026-02-25 15:57:33 +08:00
[bitnami/rabbitmq]fix secure password env hardcode (#13056)
* fix secure password env hardcode Fixes: https://github.com/bitnami/charts/issues/12924 Signed-off-by: cleverhu <shouping.hu@daocloud.io> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: cleverhu <shouping.hu@daocloud.io> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: cleverhu <shouping.hu@daocloud.io> Signed-off-by: cleverhu <shouping.hu@daocloud.io> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -23,4 +23,4 @@ name: rabbitmq
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/rabbitmq
|
||||
- https://www.rabbitmq.com
|
||||
version: 11.0.4
|
||||
version: 11.1.0
|
||||
|
||||
@@ -94,6 +94,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `dnsConfig` | DNS Configuration pod | `{}` |
|
||||
| `auth.username` | RabbitMQ application username | `user` |
|
||||
| `auth.password` | RabbitMQ application password | `""` |
|
||||
| `auth.securePassword` | Whether to set the RabbitMQ password securely. This is incompatible with loading external RabbitMQ definitions | `yes` |
|
||||
| `auth.existingPasswordSecret` | Existing secret with RabbitMQ credentials (must contain a value for `rabbitmq-password` key) | `""` |
|
||||
| `auth.erlangCookie` | Erlang cookie to determine whether different nodes are allowed to communicate with each other | `""` |
|
||||
| `auth.existingErlangSecret` | Existing secret with RabbitMQ Erlang cookie (must contain a value for `rabbitmq-erlang-cookie` key) | `""` |
|
||||
|
||||
@@ -224,7 +224,7 @@ spec:
|
||||
- name: RABBITMQ_DEFINITIONS_FILE
|
||||
value: {{ .Values.loadDefinition.file | quote }}
|
||||
- name: RABBITMQ_SECURE_PASSWORD
|
||||
value: "yes"
|
||||
value: {{ ternary "yes" "no" .Values.auth.securePassword | quote }}
|
||||
- name: RABBITMQ_USERNAME
|
||||
value: {{ .Values.auth.username | quote }}
|
||||
- name: RABBITMQ_PASSWORD
|
||||
|
||||
@@ -123,6 +123,10 @@ auth:
|
||||
## ref: https://github.com/bitnami/containers/tree/main/bitnami/rabbitmq#environment-variables
|
||||
##
|
||||
password: ""
|
||||
## @param auth.securePassword Whether to set the RabbitMQ password securely. This is incompatible with loading external RabbitMQ definitions
|
||||
## ref: https://github.com/bitnami/containers/tree/main/bitnami/rabbitmq#environment-variables
|
||||
##
|
||||
securePassword: yes
|
||||
## @param auth.existingPasswordSecret Existing secret with RabbitMQ credentials (must contain a value for `rabbitmq-password` key)
|
||||
## e.g:
|
||||
## existingPasswordSecret: name-of-existing-secret
|
||||
|
||||
Reference in New Issue
Block a user