Merge pull request #168 from sirius0xdev/feat/replace-kafka-with-strimzi
Replace manual Kafka StatefulSet with Strimzi operator
This commit is contained in:
commit
b439052079
3 changed files with 28 additions and 1 deletions
5
apps/staging/customer1-strimzi/kustomization.yaml
Normal file
5
apps/staging/customer1-strimzi/kustomization.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: customer1
|
||||||
|
resources:
|
||||||
|
- ../../base/customer1/siriusdevops-db/strimzi
|
||||||
21
clusters/devops-lab/customer1-strimzi.yaml
Normal file
21
clusters/devops-lab/customer1-strimzi.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: customer1-strimzi
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1m0s
|
||||||
|
retryInterval: 1m
|
||||||
|
timeout: 5m
|
||||||
|
dependsOn:
|
||||||
|
- name: infrastructure-controllers
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
|
path: ../../apps/staging/customer1-strimzi
|
||||||
|
prune: true
|
||||||
|
force: true
|
||||||
|
decryption:
|
||||||
|
provider: sops
|
||||||
|
secretRef:
|
||||||
|
name: sops-age
|
||||||
|
|
@ -8,12 +8,13 @@ spec:
|
||||||
retryInterval: 1m
|
retryInterval: 1m
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: infrastructure-controllers
|
- name: customer1-strimzi
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: flux-system
|
name: flux-system
|
||||||
path: ../../apps/staging/customer1
|
path: ../../apps/staging/customer1
|
||||||
prune: true
|
prune: true
|
||||||
|
force: true
|
||||||
decryption:
|
decryption:
|
||||||
provider: sops
|
provider: sops
|
||||||
secretRef:
|
secretRef:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue