allow override of busybox like in stable/efs-provisioner (#8736)

Signed-off-by: ryandawsonuk <ryandawson@cantab.net>
This commit is contained in:
Ryan Dawson
2018-11-16 09:37:17 -08:00
committed by k8s-ci-robot
parent 76114fa449
commit fcbcaf6346
4 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: rabbitmq-ha
apiVersion: v1
appVersion: 3.7.4
version: 1.13.0
version: 1.13.1
description: Highly available RabbitMQ cluster, the open source message broker
software that implements the Advanced Message Queuing Protocol (AMQP).
keywords:
+3 -1
View File
@@ -146,7 +146,9 @@ and their default values.
| `updateStrategy` | Statefulset update strategy | `OnDelete` |
| `priorityClassName` | Statefulsets Pod Priority | `` |
| `extraLabels` | Labels to add to the Resources | `{}` |
| `busyboxImage.repository` | Busybox initContainer image repo | `busybox` |
| `busyboxImage.tag` | Busybox initContainer image tag | `latest` |
| `busyboxImage.pullPolicy` | Busybox initContainer image pullPolicy | `Always` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```bash
@@ -46,7 +46,8 @@ spec:
serviceAccountName: {{ template "rabbitmq-ha.serviceAccountName" . }}
initContainers:
- name: copy-rabbitmq-config
image: busybox
image: {{ .Values.busyboxImage.repository}}:{{ .Values.busyboxImage.tag}}
imagePullPolicy: {{ .Values.busyboxImage.pullPolicy }}
command: ['sh', '-c', 'cp /configmap/* /etc/rabbitmq; rm -f /var/lib/rabbitmq/.erlang.cookie']
resources:
{{ toYaml .Values.initContainer.resources | indent 12 }}
+5
View File
@@ -248,6 +248,11 @@ image:
# pullSecrets:
# - myRegistrKeySecretName
busyboxImage:
repository: busybox
tag: latest
pullPolicy: Always
## Duration in seconds the pod needs to terminate gracefully
terminationGracePeriodSeconds: 10