[stable/rabbitmq-ha] add image.pullSecrets (#7162)

* [stable/rabbitmq-ha] add image.pullSecrets

* bump version
This commit is contained in:
Vladimir
2018-08-15 13:11:09 -07:00
committed by k8s-ci-robot
parent d5b6f19c67
commit ea0f11da27
4 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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:
+6
View File
@@ -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