File tree Expand file tree Collapse file tree 4 files changed +62
-0
lines changed Expand file tree Collapse file tree 4 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ - op : add
2
+ path : /spec/template/spec/securityContext
3
+ value :
4
+ fsGroup : 65534
Original file line number Diff line number Diff line change
1
+ bases :
2
+ - ../rbac-namespace-default
3
+ - ../kafka
4
+ - ../zookeeper
5
+ patchesJson6902 :
6
+ - target :
7
+ group : apps
8
+ version : v1
9
+ kind : StatefulSet
10
+ name : kafka
11
+ path : fsgroup-65534.yaml
12
+ - target :
13
+ group : apps
14
+ version : v1
15
+ kind : StatefulSet
16
+ name : pzoo
17
+ path : fsgroup-65534.yaml
18
+ - target :
19
+ group : apps
20
+ version : v1
21
+ kind : StatefulSet
22
+ name : zoo
23
+ path : fsgroup-65534.yaml
24
+ # https://github.com/kubernetes-sigs/kustomize/issues/915#issuecomment-477808963
25
+ patchesStrategicMerge :
26
+ - nonroot-image-kafka.yaml
27
+ - nonroot-image-zookeeper.yaml
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : StatefulSet
3
+ metadata :
4
+ name : kafka
5
+ spec :
6
+ template :
7
+ spec :
8
+ containers :
9
+ - name : broker
10
+ image : solsson/kafka:nonroot-latest@sha256:c904e2dc2b432491f298b90e2b603447bc2e16d9675fda6b4a9ec1b8d4169c3f
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : StatefulSet
3
+ metadata :
4
+ name : pzoo
5
+ spec :
6
+ template :
7
+ spec :
8
+ containers :
9
+ - name : zookeeper
10
+ image : solsson/kafka:nonroot-latest@sha256:c904e2dc2b432491f298b90e2b603447bc2e16d9675fda6b4a9ec1b8d4169c3f
11
+ ---
12
+ apiVersion : apps/v1
13
+ kind : StatefulSet
14
+ metadata :
15
+ name : zoo
16
+ spec :
17
+ template :
18
+ spec :
19
+ containers :
20
+ - name : zookeeper
21
+ image : solsson/kafka:nonroot-latest@sha256:c904e2dc2b432491f298b90e2b603447bc2e16d9675fda6b4a9ec1b8d4169c3f
You can’t perform that action at this time.
0 commit comments