Skip to content

Commit 870435a

Browse files
committed
There'll be lots of duplication among variants
because only files within kustomization.yaml's dir can be included
1 parent f728b98 commit 870435a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "--override"},
3+
{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "default.replication.factor=1"},
4+
{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "--override"},
5+
{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "min.insync.replicas=1"}
6+
]

variants/scale-1/kustomization.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ bases:
44
patchesStrategicMerge:
55
- kafka.yaml
66
- zookeeper.yaml
7+
patchesJson6902:
8+
- target:
9+
group: apps
10+
version: v1
11+
kind: StatefulSet
12+
name: kafka
13+
path: kafka-scale1-overrides.json

0 commit comments

Comments
 (0)