Skip to content

Commit

Permalink
Update redis helm chart values
Browse files Browse the repository at this point in the history
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 - bitnami-labs/sealed-secrets#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 <iburstei@redhat.com>
  • Loading branch information
idoB123 committed Jul 8, 2022
1 parent 96af931 commit 7ace7c0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ redis:
installdep:
enable: true
global:
imageRegistry: quay.io
imageRegistry: docker.io
redis:
password:
clusterDomain: cluster.local
Expand All @@ -23,6 +23,7 @@ redis:
containerSecurityContext:
runAsUser: null
replica:
replicaCount: 1
podSecurityContext:
# readOnlyRootFilesystem: true
runAsNonRoot: true
Expand All @@ -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:
Expand Down

0 comments on commit 7ace7c0

Please sign in to comment.