Skip to content

Commit 7d9662c

Browse files
author
Alexey N. Sorokin
committed
Create an example file
1 parent be46a6f commit 7d9662c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)