From 7ace7c0487a925b00723b0d48a786739057b9ee0 Mon Sep 17 00:00:00 2001 From: Ido Burstein Date: Thu, 7 Jul 2022 16:21:24 -0400 Subject: [PATCH] Update redis helm chart values Update to the correct image registry in order to fix the bug that occured when deploying redis. Image registry has change from quay.it to docker.io - explanation - https://github.com/bitnami-labs/sealed-secrets/issues/822 Add image parameters under redis in the Helm chart to allow us to use a copied image from quay.io to avoid docker. Fix the replica count to be 1 and not the default which is 3. Signed-off-by: Ido Burstein --- chart/values.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/chart/values.yaml b/chart/values.yaml index 9677675..1867cd4 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -11,7 +11,7 @@ redis: installdep: enable: true global: - imageRegistry: quay.io + imageRegistry: docker.io redis: password: clusterDomain: cluster.local @@ -23,6 +23,7 @@ redis: containerSecurityContext: runAsUser: null replica: + replicaCount: 1 podSecurityContext: # readOnlyRootFilesystem: true runAsNonRoot: true @@ -32,6 +33,15 @@ redis: runAsNonRoot: true service: port: 6379 + image: + registry: docker.io + repository: bitnami/redis + tag: 6.2.6-debian-10-r97 + ## Specify a imagePullPolicy + ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' + ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images + ## + pullPolicy: IfNotPresent smtp: endpoint: