We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be46a6f commit 7d9662cCopy full SHA for 7d9662c
deploy/example/securitycontext.yaml
@@ -0,0 +1,21 @@
1
+apiVersion: redis.kun/v1alpha1
2
+kind: DistributedRedisCluster
3
+metadata:
4
+ annotations:
5
+ # if your operator run as cluster-scoped, add this annotations
6
+ redis.kun/scope: cluster-scoped
7
+ name: example-distributedrediscluster
8
+spec:
9
+ image: redis:5.0.4-alpine
10
+ masterSize: 3
11
+ clusterReplicas: 1
12
+ securityContext:
13
+ runAsUser: 1101
14
+ runAsGroup: 1101
15
+ fsGroup: 1101
16
+ supplementalGroups: [1101]
17
+ containerSecurityContext:
18
+ allowPrivilegeEscalation: false
19
+ capabilities:
20
+ drop:
21
+ - ALL
0 commit comments