Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add namespaces in nonroot base #332

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions nonroot/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,21 @@ patchesJson6902:
version: v1
kind: StatefulSet
name: kafka
namespace: kafka
path: fsgroup-65534.yaml
- target:
group: apps
version: v1
kind: StatefulSet
name: pzoo
namespace: kafka
path: fsgroup-65534.yaml
- target:
group: apps
version: v1
kind: StatefulSet
name: zoo
namespace: kafka
path: fsgroup-65534.yaml
# https://github.com/kubernetes-sigs/kustomize/issues/915#issuecomment-477808963
patchesStrategicMerge:
Expand Down
1 change: 1 addition & 0 deletions nonroot/nonroot-image-kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: kafka
namespace: kafka
spec:
template:
spec:
Expand Down
2 changes: 2 additions & 0 deletions nonroot/nonroot-image-zookeeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: pzoo
namespace: kafka
spec:
template:
spec:
Expand All @@ -13,6 +14,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: zoo
namespace: kafka
spec:
template:
spec:
Expand Down