Skip to content

Commit

Permalink
chore: upgrade redis to 7.0.7 to avoid CVE-2022-3996 (#11925)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev committed Jan 10, 2023
1 parent 72f92b6 commit 93fa2a4
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ jobs:
run: |
docker pull ghcr.io/dexidp/dex:v2.35.3
docker pull argoproj/argo-cd-ci-builder:v1.0.0
docker pull redis:7.0.5-alpine
docker pull redis:7.0.7-alpine
- name: Create target directory for binaries in the build-process
run: |
mkdir -p dist
Expand Down
2 changes: 1 addition & 1 deletion manifests/base/redis/argocd-redis-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
serviceAccountName: argocd-redis
containers:
- name: redis
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: Always
args:
- "--save"
Expand Down
2 changes: 1 addition & 1 deletion manifests/core-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15639,7 +15639,7 @@ spec:
- ""
- --appendonly
- "no"
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: Always
name: redis
ports:
Expand Down
8 changes: 4 additions & 4 deletions manifests/ha/base/redis-ha/chart/upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ spec:
automountServiceAccountToken: false
initContainers:
- name: config-init
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
resources:
{}
Expand All @@ -1204,7 +1204,7 @@ spec:

containers:
- name: redis
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
command:
- redis-server
Expand Down Expand Up @@ -1254,7 +1254,7 @@ spec:
- /bin/sh
- /readonly-config/trigger-failover-if-master.sh
- name: sentinel
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
command:
- redis-sentinel
Expand Down Expand Up @@ -1298,7 +1298,7 @@ spec:
{}

- name: split-brain-fix
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
command:
- sh
Expand Down
2 changes: 1 addition & 1 deletion manifests/ha/base/redis-ha/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ redis-ha:
client: 6m
checkInterval: 3s
image:
tag: 7.0.5-alpine
tag: 7.0.7-alpine
containerSecurityContext: null
8 changes: 4 additions & 4 deletions manifests/ha/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17909,7 +17909,7 @@ spec:
- /data/conf/redis.conf
command:
- redis-server
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -17962,7 +17962,7 @@ spec:
- /data/conf/sentinel.conf
command:
- redis-sentinel
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
lifecycle: {}
livenessProbe:
Expand Down Expand Up @@ -18014,7 +18014,7 @@ spec:
value: 40000915ab58c3fa8fd888fb8b24711944e6cbb4
- name: SENTINEL_ID_2
value: 2bbec7894d954a8af3bb54d13eaec53cb024e2ca
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
name: split-brain-fix
resources: {}
Expand Down Expand Up @@ -18043,7 +18043,7 @@ spec:
value: 40000915ab58c3fa8fd888fb8b24711944e6cbb4
- name: SENTINEL_ID_2
value: 2bbec7894d954a8af3bb54d13eaec53cb024e2ca
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
name: config-init
securityContext:
Expand Down
8 changes: 4 additions & 4 deletions manifests/ha/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2713,7 +2713,7 @@ spec:
- /data/conf/redis.conf
command:
- redis-server
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -2766,7 +2766,7 @@ spec:
- /data/conf/sentinel.conf
command:
- redis-sentinel
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
lifecycle: {}
livenessProbe:
Expand Down Expand Up @@ -2818,7 +2818,7 @@ spec:
value: 40000915ab58c3fa8fd888fb8b24711944e6cbb4
- name: SENTINEL_ID_2
value: 2bbec7894d954a8af3bb54d13eaec53cb024e2ca
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
name: split-brain-fix
resources: {}
Expand Down Expand Up @@ -2847,7 +2847,7 @@ spec:
value: 40000915ab58c3fa8fd888fb8b24711944e6cbb4
- name: SENTINEL_ID_2
value: 2bbec7894d954a8af3bb54d13eaec53cb024e2ca
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: IfNotPresent
name: config-init
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16117,7 +16117,7 @@ spec:
- ""
- --appendonly
- "no"
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: Always
name: redis
ports:
Expand Down
2 changes: 1 addition & 1 deletion manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ spec:
- ""
- --appendonly
- "no"
image: redis:7.0.5-alpine
image: redis:7.0.7-alpine
imagePullPolicy: Always
name: redis
ports:
Expand Down

0 comments on commit 93fa2a4

Please sign in to comment.