mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
allow override of busybox like in stable/efs-provisioner (#8736)
Signed-off-by: ryandawsonuk <ryandawson@cantab.net>
This commit is contained in:
committed by
k8s-ci-robot
parent
76114fa449
commit
fcbcaf6346
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user