mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/rabbitmq-ha] add image.pullSecrets (#7162)
* [stable/rabbitmq-ha] add image.pullSecrets * bump version
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: rabbitmq-ha
|
||||
apiVersion: v1
|
||||
appVersion: 3.7.4
|
||||
version: 1.7.0
|
||||
version: 1.7.2
|
||||
description: Highly available RabbitMQ cluster, the open source message broker
|
||||
software that implements the Advanced Message Queuing Protocol (AMQP).
|
||||
keywords:
|
||||
|
||||
@@ -70,6 +70,7 @@ and their default values.
|
||||
| `image.pullPolicy` | Image pull policy | `Always` if `image` tag is `latest`, else `IfNotPresent` |
|
||||
| `image.repository` | RabbitMQ container image repository | `rabbitmq` |
|
||||
| `image.tag` | RabbitMQ container image tag | `3.7-alpine` |
|
||||
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `persistentVolume.accessMode` | Persistent volume access modes | `[ReadWriteOnce]` |
|
||||
| `persistentVolume.annotations` | Persistent volume annotations | `{}` |
|
||||
|
||||
@@ -32,6 +32,12 @@ spec:
|
||||
prometheus.io/port: {{ .Values.prometheus.exporter.port | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- range .Values.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
|
||||
serviceAccountName: {{ template "rabbitmq-ha.serviceAccountName" . }}
|
||||
initContainers:
|
||||
|
||||
@@ -142,6 +142,12 @@ image:
|
||||
repository: rabbitmq
|
||||
tag: 3.7-alpine
|
||||
pullPolicy: IfNotPresent
|
||||
## Optionally specify an array of imagePullSecrets.
|
||||
## Secrets must be manually created in the namespace.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
|
||||
## Duration in seconds the pod needs to terminate gracefully
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
Reference in New Issue
Block a user