[stable/stolon] add image.pullSecrets (#20088)

* [stable/stolon] add image.pullSecrets

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* bumped chart version

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>
This commit is contained in:
rolandg
2020-01-13 06:17:39 -08:00
committed by Kubernetes Prow Robot
parent e5df818f94
commit eedbdbb830
6 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: stolon
version: 1.5.4
version: 1.5.5
appVersion: 0.13.0
description: Stolon - PostgreSQL cloud native High Availability.
home: https://github.com/sorintlab/stolon
+2 -1
View File
@@ -25,10 +25,11 @@ Kubernetes is the default store backend. `consul`, `etcdv2` or `etcdv3` can also
| Parameter | Description | Default |
| --------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------ |
| `clusterName` | `stolon` cluster name | `nil` |
| `clusterName` | `stolon` cluster name | `nil` |
| `image.repository` | `stolon` image repository | `sorintlab/stolon` |
| `image.tag` | `stolon` image tag | `v0.13.0-pg10` |
| `image.pullPolicy` | `stolon` image pull policy | `IfNotPresent` |
| `image.pullSecrets` | `stolon` image pull secrets as an array | `[]` (does not add image pull secrets to deployed pods) |
| `etcdImage.repository` | `etcd` image repository | `k8s.gcr.io/etcd-amd64` |
| `etcdImage.tag` | `etcd` image tag | `2.3.7` |
| `etcdImage.pullPolicy` | `etcd` image pull policy | `IfNotPresent` |
@@ -35,6 +35,10 @@ spec:
{{- if .Values.keeper.fsGroup }}
securityContext:
fsGroup: {{ .Values.keeper.fsGroup }}
{{- end }}
{{- if .Values.image.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .values.image.pullSecrets | indent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
@@ -30,6 +30,10 @@ spec:
priorityClassName: "{{ .Values.proxy.priorityClassName }}"
{{- end }}
serviceAccountName: {{ template "stolon.serviceAccountName" . }}
{{- if .Values.image.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .values.image.pullSecrets | indent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
@@ -31,6 +31,10 @@ spec:
priorityClassName: "{{ .Values.sentinel.priorityClassName }}"
{{- end }}
serviceAccountName: {{ template "stolon.serviceAccountName" . }}
{{- if .Values.image.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+3
View File
@@ -3,6 +3,9 @@ image:
repository: sorintlab/stolon
tag: v0.13.0-pg10
pullPolicy: IfNotPresent
## Add secrets manually via kubectl on kubernetes cluster and reference here
# pullSecrets:
# - name: "myKubernetesSecret"
# used by create-cluster-job when store.backend is etcd
etcdImage: