Skip to content

Commit 57bedb2

Browse files
committed
more codegen
1 parent b10bf5b commit 57bedb2

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

manifests/ha/base/redis-ha/chart/upstream.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
chart: redis-ha-4.26.6
1313
app: argocd-redis-ha
1414
secrets:
15-
- name: argocd-redis
15+
- name: argocd-redis
1616
---
1717
# Source: redis-ha/charts/redis-ha/templates/redis-haproxy-serviceaccount.yaml
1818
apiVersion: v1
@@ -1099,7 +1099,7 @@ spec:
10991099
- sh
11001100
args:
11011101
- /readonly/haproxy_init.sh
1102-
securityContext:
1102+
securityContext:
11031103
allowPrivilegeEscalation: false
11041104
capabilities:
11051105
drop:
@@ -1117,7 +1117,7 @@ spec:
11171117
- name: haproxy
11181118
image: public.ecr.aws/docker/library/haproxy:2.6.17-alpine
11191119
imagePullPolicy: IfNotPresent
1120-
securityContext:
1120+
securityContext:
11211121
allowPrivilegeEscalation: false
11221122
capabilities:
11231123
drop:
@@ -1227,15 +1227,15 @@ spec:
12271227
- sh
12281228
args:
12291229
- /readonly-config/init.sh
1230-
securityContext:
1230+
securityContext:
12311231
allowPrivilegeEscalation: false
12321232
capabilities:
12331233
drop:
12341234
- ALL
12351235
runAsNonRoot: true
12361236
runAsUser: 1000
12371237
seccompProfile:
1238-
type: RuntimeDefault
1238+
type: RuntimeDefault
12391239
env:
12401240
- name: SENTINEL_ID_0
12411241
value: 3c0d9c0320bb34888c2df5757c718ce6ca992ce6
@@ -1264,12 +1264,13 @@ spec:
12641264
- redis-server
12651265
args:
12661266
- /data/conf/redis.conf
1267-
securityContext:
1267+
securityContext:
12681268
allowPrivilegeEscalation: false
12691269
capabilities:
12701270
drop:
1271-
- ALL
1271+
- ALL
12721272
runAsNonRoot: true
1273+
runAsUser: 1000
12731274
seccompProfile:
12741275
type: RuntimeDefault
12751276
env:
@@ -1326,12 +1327,13 @@ spec:
13261327
- redis-sentinel
13271328
args:
13281329
- /data/conf/sentinel.conf
1329-
securityContext:
1330+
securityContext:
13301331
allowPrivilegeEscalation: false
13311332
capabilities:
13321333
drop:
1333-
- ALL
1334+
- ALL
13341335
runAsNonRoot: true
1336+
runAsUser: 1000
13351337
seccompProfile:
13361338
type: RuntimeDefault
13371339
env:
@@ -1387,14 +1389,15 @@ spec:
13871389
- sh
13881390
args:
13891391
- /readonly-config/fix-split-brain.sh
1390-
securityContext:
1392+
securityContext:
13911393
allowPrivilegeEscalation: false
13921394
capabilities:
13931395
drop:
1394-
- ALL
1396+
- ALL
13951397
runAsNonRoot: true
1398+
runAsUser: 1000
13961399
seccompProfile:
1397-
type: RuntimeDefault
1400+
type: RuntimeDefault
13981401
env:
13991402
- name: SENTINEL_ID_0
14001403
value: 3c0d9c0320bb34888c2df5757c718ce6ca992ce6

0 commit comments

Comments
 (0)