Skip to content

Commit

Permalink
There'll be lots of duplication among variants
Browse files Browse the repository at this point in the history
because only files within kustomization.yaml's dir can be included
  • Loading branch information
solsson committed Apr 27, 2019
1 parent f728b98 commit 870435a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions variants/scale-1/kafka-scale1-overrides.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "--override"},
{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "default.replication.factor=1"},
{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "--override"},
{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "min.insync.replicas=1"}
]
7 changes: 7 additions & 0 deletions variants/scale-1/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ bases:
patchesStrategicMerge:
- kafka.yaml
- zookeeper.yaml
patchesJson6902:
- target:
group: apps
version: v1
kind: StatefulSet
name: kafka
path: kafka-scale1-overrides.json

0 comments on commit 870435a

Please sign in to comment.