From d9d7fcb43a0881bee0fc787f65257cc5f87bb0c4 Mon Sep 17 00:00:00 2001 From: rolandg Date: Wed, 15 Jan 2020 13:45:32 +0100 Subject: [PATCH] [stolon/stable] fixed image pull secrets (#20161) * [stable/stolon] add image.pullSecrets Signed-off-by: Roland Gritzer * bumped chart version Signed-off-by: Roland Gritzer * fixed image.pullSecrets Signed-off-by: Roland Gritzer --- stable/stolon/Chart.yaml | 2 +- stable/stolon/templates/keeper-statefulset.yaml | 4 ++-- stable/stolon/templates/proxy-deployment.yaml | 4 ++-- stable/stolon/templates/sentinel-deployment.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/stable/stolon/Chart.yaml b/stable/stolon/Chart.yaml index c622eff55e..1a256b2eb2 100644 --- a/stable/stolon/Chart.yaml +++ b/stable/stolon/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: stolon -version: 1.5.5 +version: 1.5.6 appVersion: 0.13.0 description: Stolon - PostgreSQL cloud native High Availability. home: https://github.com/sorintlab/stolon diff --git a/stable/stolon/templates/keeper-statefulset.yaml b/stable/stolon/templates/keeper-statefulset.yaml index 685f40d87b..8972cf5614 100644 --- a/stable/stolon/templates/keeper-statefulset.yaml +++ b/stable/stolon/templates/keeper-statefulset.yaml @@ -36,9 +36,9 @@ spec: securityContext: fsGroup: {{ .Values.keeper.fsGroup }} {{- end }} -{{- if .Values.image.imagePullSecrets }} +{{- if .Values.image.pullSecrets }} imagePullSecrets: -{{ toYaml .values.image.pullSecrets | indent 8 }} +{{ toYaml .Values.image.pullSecrets | indent 8 }} {{- end }} containers: - name: {{ .Chart.Name }} diff --git a/stable/stolon/templates/proxy-deployment.yaml b/stable/stolon/templates/proxy-deployment.yaml index d5e1591b48..ba3b6a266c 100644 --- a/stable/stolon/templates/proxy-deployment.yaml +++ b/stable/stolon/templates/proxy-deployment.yaml @@ -30,9 +30,9 @@ spec: priorityClassName: "{{ .Values.proxy.priorityClassName }}" {{- end }} serviceAccountName: {{ template "stolon.serviceAccountName" . }} -{{- if .Values.image.imagePullSecrets }} +{{- if .Values.image.pullSecrets }} imagePullSecrets: -{{ toYaml .values.image.pullSecrets | indent 8 }} +{{ toYaml .Values.image.pullSecrets | indent 8 }} {{- end }} containers: - name: {{ .Chart.Name }} diff --git a/stable/stolon/templates/sentinel-deployment.yaml b/stable/stolon/templates/sentinel-deployment.yaml index b1842488a8..ba60f77a6a 100644 --- a/stable/stolon/templates/sentinel-deployment.yaml +++ b/stable/stolon/templates/sentinel-deployment.yaml @@ -31,7 +31,7 @@ spec: priorityClassName: "{{ .Values.sentinel.priorityClassName }}" {{- end }} serviceAccountName: {{ template "stolon.serviceAccountName" . }} -{{- if .Values.image.imagePullSecrets }} +{{- if .Values.image.pullSecrets }} imagePullSecrets: {{ toYaml .Values.image.pullSecrets | indent 8 }} {{- end }}