From 116a0aa53d9cd4a4674aca2aa3c23246edb0c35d Mon Sep 17 00:00:00 2001 From: Roman M Date: Thu, 13 Dec 2018 11:26:33 +0200 Subject: [PATCH] [stable/keycloak] Update pullSecrets variable usage (#9802) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated imagePullSecrets to match values.yaml example. Signed-off-by: Roman Mykhailiuk Signed-off-by: Roman Mykhailiuk * Changed back to , uncommented default value. Signed-off-by: Roman Mykhailiuk Signed-off-by: Roman Mykhailiuk * Bumped chart version Signed-off-by: Roman Mykhailiuk * Update Chart.yaml Signed-off-by: Reinhard Nägele --- stable/keycloak/Chart.yaml | 2 +- stable/keycloak/templates/statefulset.yaml | 4 +++- stable/keycloak/values.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/stable/keycloak/Chart.yaml b/stable/keycloak/Chart.yaml index fb59e44cf8..51e2c4260b 100644 --- a/stable/keycloak/Chart.yaml +++ b/stable/keycloak/Chart.yaml @@ -1,5 +1,5 @@ name: keycloak -version: 4.0.6 +version: 4.0.7 appVersion: 4.5.0.Final description: Open Source Identity and Access Management For Modern Applications and Services keywords: diff --git a/stable/keycloak/templates/statefulset.yaml b/stable/keycloak/templates/statefulset.yaml index 7f56164a8f..11173a8a4a 100644 --- a/stable/keycloak/templates/statefulset.yaml +++ b/stable/keycloak/templates/statefulset.yaml @@ -34,7 +34,9 @@ spec: {{ toYaml .Values.keycloak.securityContext | indent 8 }} {{- with .Values.keycloak.image.pullSecrets }} imagePullSecrets: -{{ toYaml . | indent 8 }} + {{- range . }} + - name: {{ . }} + {{- end }} {{- end }} {{- if or .Values.keycloak.persistence.deployPostgres .Values.keycloak.extraInitContainers }} initContainers: diff --git a/stable/keycloak/values.yaml b/stable/keycloak/values.yaml index 950d14c00b..913dc40ac0 100644 --- a/stable/keycloak/values.yaml +++ b/stable/keycloak/values.yaml @@ -19,7 +19,7 @@ keycloak: ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ ## pullSecrets: [] - # - myRegistrKeySecretName + # - myRegistrKeySecretName securityContext: runAsUser: 1000