[stable/rabbitmq-ha] Support custom sidecar containers (#16660)

Signed-off-by: hasul <matej.hasul@gooddata.com>
This commit is contained in:
matejhasul
2019-08-28 09:39:13 -07:00
committed by Kubernetes Prow Robot
parent 99ce30e8d6
commit 58d4342fc8
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -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:
+3 -1
View File
@@ -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`
* `extraContainers`
* `extraInitContainers`
@@ -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 }}
+3
View File
@@ -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/
##