Skip to content

Commit

Permalink
keep kustomize images newTag for repeating image in redis-cluster (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinGinszt authored Jun 20, 2024
1 parent 419b847 commit 16a847b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions redis-cluster/base/init-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ spec:
fsGroup: 1001
containers:
- name: cluster-init
# image tag set in kustomize file
image: redis
imagePullPolicy: IfNotPresent
securityContext:
Expand Down Expand Up @@ -85,5 +86,3 @@ spec:
configMap:
name: redis-init-scripts
defaultMode: 0755


3 changes: 2 additions & 1 deletion redis-cluster/base/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ spec:
weight: 100
containers:
- name: redis
image: redis:7.2.5
# image tag set in kustomize file
image: redis
imagePullPolicy: "IfNotPresent"
securityContext:
allowPrivilegeEscalation: false
Expand Down

0 comments on commit 16a847b

Please sign in to comment.