diff --git a/stable/rabbitmq-ha/Chart.yaml b/stable/rabbitmq-ha/Chart.yaml index c307d197f1..3c78951633 100644 --- a/stable/rabbitmq-ha/Chart.yaml +++ b/stable/rabbitmq-ha/Chart.yaml @@ -1,7 +1,7 @@ name: rabbitmq-ha apiVersion: v1 appVersion: 3.7.15 -version: 1.31.0 +version: 1.32.0 description: Highly available RabbitMQ cluster, the open source message broker software that implements the Advanced Message Queuing Protocol (AMQP). keywords: diff --git a/stable/rabbitmq-ha/README.md b/stable/rabbitmq-ha/README.md index 374fbff759..d559967cc9 100644 --- a/stable/rabbitmq-ha/README.md +++ b/stable/rabbitmq-ha/README.md @@ -69,6 +69,7 @@ and their default values. | `existingSecret` | Use an existing secret for password, managementPassword & erlang cookie | `""`                               | | `extraPlugins` | Additional plugins to add to the default configmap | `rabbitmq_shovel, rabbitmq_shovel_management, rabbitmq_federation, rabbitmq_federation_management,` | | `extraConfig` | Additional configuration to add to default configmap | `{}` | +| `extraContainers` | Additional containers passed through the tpl | `[]` | | `extraInitContainers` | Additional init containers passed through the tpl | `[]` | | `env` | Environment variables to set for Rabbitmq container | `{}` | | `advancedConfig` | Additional configuration in classic config format | `""` | @@ -261,4 +262,5 @@ Prometheus and its features can be enabled by setting `prometheus.enabled` to `t The `tpl` function allows us to pass values from `values.yaml` through the templating engine. It is used for the following values: -* `extraInitContainers` \ No newline at end of file +* `extraContainers` +* `extraInitContainers` diff --git a/stable/rabbitmq-ha/templates/statefulset.yaml b/stable/rabbitmq-ha/templates/statefulset.yaml index a96b6a28d1..f939406378 100644 --- a/stable/rabbitmq-ha/templates/statefulset.yaml +++ b/stable/rabbitmq-ha/templates/statefulset.yaml @@ -214,6 +214,9 @@ spec: resources: {{ toYaml .Values.prometheus.exporter.resources | indent 12 }} {{ end }} + {{- if .Values.extraContainers }} +{{ tpl (toYaml .Values.extraContainers) . | indent 8 }} + {{- end }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} diff --git a/stable/rabbitmq-ha/values.yaml b/stable/rabbitmq-ha/values.yaml index 10f487d39d..8b98058f37 100644 --- a/stable/rabbitmq-ha/values.yaml +++ b/stable/rabbitmq-ha/values.yaml @@ -351,6 +351,9 @@ initContainer: ## Additional init containers extraInitContainers: [] +## Additional containers +extraContainers: [] + ## Use an alternate scheduler, e.g. "stork". ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ ##