++ move ugmk infrastructure patches to overlays
This commit is contained in:
parent
52f90cb00c
commit
63cdb767e6
@ -1,111 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../infrastructure/kafka
|
||||
- ../../../infrastructure/rabbitmq
|
||||
- ../../../infrastructure/camunda
|
||||
- ../../../infrastructure/vault
|
||||
- ../../../infrastructure/postgresql
|
||||
- ../../../infrastructure/zitadel
|
||||
- ../../../infrastructure/istio-config
|
||||
patches:
|
||||
- path: ./patches/kafka.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: kafka
|
||||
namespace: kafka
|
||||
- path: ./patches/kafka-namespace.yaml
|
||||
target:
|
||||
version: v1
|
||||
kind: Namespace
|
||||
name: kafka
|
||||
- path: ./patches/rabbitmq.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: rabbitmq
|
||||
namespace: rabbitmq
|
||||
- path: ./patches/rabbitmq-namespace.yaml
|
||||
target:
|
||||
version: v1
|
||||
kind: Namespace
|
||||
name: rabbitmq
|
||||
- path: ./patches/camunda.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: camunda
|
||||
namespace: camunda
|
||||
- path: ./patches/camunda-namespace.yaml
|
||||
target:
|
||||
version: v1
|
||||
kind: Namespace
|
||||
name: camunda
|
||||
- path: ./patches/vault.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: vault
|
||||
namespace: vault
|
||||
- path: ./patches/vault-namespace.yaml
|
||||
target:
|
||||
version: v1
|
||||
kind: Namespace
|
||||
name: vault
|
||||
- path: ./patches/postgresql.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: postgresql
|
||||
namespace: postgresql
|
||||
- patch: |-
|
||||
- op: replace
|
||||
path: /metadata/namespace
|
||||
value: zitadel
|
||||
- op: replace
|
||||
path: /spec/values/primary/nodeSelector
|
||||
value:
|
||||
dedicated: null
|
||||
kubernetes.io/hostname: um-sarex-k8s-master-01
|
||||
- op: replace
|
||||
path: /spec/values/primary/tolerations
|
||||
value:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: postgresql
|
||||
namespace: postgresql
|
||||
- path: ./patches/postgresql-namespace-delete.yaml
|
||||
target:
|
||||
version: v1
|
||||
kind: Namespace
|
||||
name: postgresql
|
||||
- path: ./patches/zitadel.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: zitadel
|
||||
namespace: zitadel
|
||||
- path: ./patches/zitadel-namespace.yaml
|
||||
target:
|
||||
version: v1
|
||||
kind: Namespace
|
||||
name: zitadel
|
||||
- path: ./patches/istio-config.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: istio-config
|
||||
namespace: default
|
||||
- ../../../infrastructure/kafka/d8-ugmk-prod
|
||||
- ../../../infrastructure/rabbitmq/d8-ugmk-prod
|
||||
- ../../../infrastructure/camunda/d8-ugmk-prod
|
||||
- ../../../infrastructure/vault/d8-ugmk-prod
|
||||
- ../../../infrastructure/postgresql/d8-ugmk-prod
|
||||
- ../../../infrastructure/zitadel/d8-ugmk-prod
|
||||
|
||||
@ -4,5 +4,6 @@ resources:
|
||||
- ./flux-system
|
||||
- ./helm-repositories.yaml
|
||||
- ./infrastructure
|
||||
- ../../infrastructure/istio-config/d8-ugmk-prod
|
||||
- ./istio-ingress
|
||||
- ./bootstrap-jobs
|
||||
|
||||
7
infrastructure/camunda/d8-ugmk-prod/kustomization.yaml
Normal file
7
infrastructure/camunda/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: camunda.yaml
|
||||
- path: camunda-namespace.yaml
|
||||
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: istio-config.yaml
|
||||
7
infrastructure/kafka/d8-ugmk-prod/kustomization.yaml
Normal file
7
infrastructure/kafka/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: kafka.yaml
|
||||
- path: kafka-namespace.yaml
|
||||
28
infrastructure/postgresql/d8-ugmk-prod/kustomization.yaml
Normal file
28
infrastructure/postgresql/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: postgresql.yaml
|
||||
- patch: |-
|
||||
- op: replace
|
||||
path: /metadata/namespace
|
||||
value: zitadel
|
||||
- op: replace
|
||||
path: /spec/values/primary/nodeSelector
|
||||
value:
|
||||
dedicated: null
|
||||
kubernetes.io/hostname: um-sarex-k8s-master-01
|
||||
- op: replace
|
||||
path: /spec/values/primary/tolerations
|
||||
value:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: postgresql
|
||||
namespace: postgresql
|
||||
- path: postgresql-namespace-delete.yaml
|
||||
7
infrastructure/rabbitmq/d8-ugmk-prod/kustomization.yaml
Normal file
7
infrastructure/rabbitmq/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: rabbitmq.yaml
|
||||
- path: rabbitmq-namespace.yaml
|
||||
7
infrastructure/vault/d8-ugmk-prod/kustomization.yaml
Normal file
7
infrastructure/vault/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: vault.yaml
|
||||
- path: vault-namespace.yaml
|
||||
7
infrastructure/zitadel/d8-ugmk-prod/kustomization.yaml
Normal file
7
infrastructure/zitadel/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: zitadel.yaml
|
||||
- path: zitadel-namespace.yaml
|
||||
Loading…
Reference in New Issue
Block a user