Merge branch 'feature/INFRA-2004-infra-patch-restructurization' into 'master'
Refactor `yc-k8s-test` infrastructure by splitting kustomization files into... See merge request infra/iac!1
This commit is contained in:
commit
d51db72714
@ -1,158 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../infrastructure
|
||||
- ./bootstrap-jobs
|
||||
patches:
|
||||
- path: ./patches/cert-manager.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: cert-manager
|
||||
namespace: cert-manager
|
||||
- path: ./patches/istio-base.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: istio-base
|
||||
namespace: istio-system
|
||||
- path: ./patches/istio-pilot.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: istiod
|
||||
namespace: istio-system
|
||||
- path: ./patches/istio-gateway.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: ingressgateway
|
||||
namespace: istio-system
|
||||
- path: ./patches/istio-config.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: istio-config
|
||||
namespace: default
|
||||
- path: ./patches/dashboard.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: dashboard
|
||||
namespace: kubernetes-dashboard
|
||||
- path: ./patches/clusterissuer-letsencrypt.yaml
|
||||
target:
|
||||
group: cert-manager.io
|
||||
version: v1
|
||||
kind: ClusterIssuer
|
||||
name: letsencrypt-issuer
|
||||
- path: ./patches/clusterissuer-letsencrypt-istio.yaml
|
||||
target:
|
||||
group: cert-manager.io
|
||||
version: v1
|
||||
kind: ClusterIssuer
|
||||
name: letsencrypt-issuer-istio
|
||||
- path: ./patches/local-path-provisioner.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: local-path-provisioner
|
||||
namespace: local-path-provisioner
|
||||
- path: ./patches/minio.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: minio
|
||||
namespace: minio
|
||||
- path: ./patches/glitchtip.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: glitchtip
|
||||
namespace: glitchtip
|
||||
- path: ./patches/openobserve.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: openobserve
|
||||
namespace: openobserve
|
||||
- path: ./patches/rabbitmq.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: rabbitmq
|
||||
namespace: rabbitmq
|
||||
- path: ./patches/kafka.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: kafka
|
||||
namespace: kafka
|
||||
- path: ./patches/redis.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: redis
|
||||
namespace: redis
|
||||
- path: ./patches/camunda.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: camunda
|
||||
namespace: camunda
|
||||
- path: ./patches/s3-proxy.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: s3-proxy
|
||||
namespace: postgresql
|
||||
- path: ./patches/postgresql.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: postgresql
|
||||
namespace: postgresql
|
||||
- path: ./patches/zitadel.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: zitadel
|
||||
namespace: zitadel
|
||||
- path: ./patches/keycloak.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: keycloak
|
||||
namespace: keycloak
|
||||
- path: ./patches/openldap.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: openldap
|
||||
namespace: openldap
|
||||
- path: ./patches/vault.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: vault
|
||||
namespace: vault
|
||||
@ -3,7 +3,30 @@ kind: Kustomization
|
||||
resources:
|
||||
- ./flux-system
|
||||
- ./helm-repositories.yaml
|
||||
- ./infrastructure
|
||||
|
||||
# infrastructure
|
||||
- ../../infrastructure/cert-manager/yc-k8s-test
|
||||
- ../../infrastructure/istio-base/yc-k8s-test
|
||||
- ../../infrastructure/istio-pilot/yc-k8s-test
|
||||
- ../../infrastructure/istio-gateway/yc-k8s-test
|
||||
- ../../infrastructure/istio-config/yc-k8s-test
|
||||
- ../../infrastructure/dashboard/yc-k8s-test
|
||||
- ../../infrastructure/local-path-provisioner/yc-k8s-test
|
||||
- ../../infrastructure/minio/yc-k8s-test
|
||||
- ../../infrastructure/glitchtip/yc-k8s-test
|
||||
- ../../infrastructure/openobserve/yc-k8s-test
|
||||
- ../../infrastructure/rabbitmq/yc-k8s-test
|
||||
- ../../infrastructure/kafka/yc-k8s-test
|
||||
- ../../infrastructure/redis/yc-k8s-test
|
||||
- ../../infrastructure/camunda/yc-k8s-test
|
||||
- ../../infrastructure/s3-proxy/yc-k8s-test
|
||||
- ../../infrastructure/postgresql/yc-k8s-test
|
||||
- ../../infrastructure/zitadel/yc-k8s-test
|
||||
- ../../infrastructure/keycloak/yc-k8s-test
|
||||
- ../../infrastructure/openldap/yc-k8s-test
|
||||
- ../../infrastructure/vault/yc-k8s-test
|
||||
- ../../infrastructure/failed-pod-cleanup
|
||||
- ./bootstrap-jobs
|
||||
|
||||
# apps
|
||||
- ../../apps/reviews/yc-k8s-test
|
||||
|
||||
6
infrastructure/camunda/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/camunda/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: camunda.yaml
|
||||
@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: cert-manager.yaml
|
||||
- path: clusterissuer-letsencrypt.yaml
|
||||
- path: clusterissuer-letsencrypt-istio.yaml
|
||||
6
infrastructure/dashboard/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/dashboard/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: dashboard.yaml
|
||||
6
infrastructure/glitchtip/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/glitchtip/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: glitchtip.yaml
|
||||
6
infrastructure/istio-base/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/istio-base/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: istio-base.yaml
|
||||
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: istio-config.yaml
|
||||
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: istio-gateway.yaml
|
||||
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: istio-pilot.yaml
|
||||
6
infrastructure/kafka/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/kafka/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: kafka.yaml
|
||||
6
infrastructure/keycloak/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/keycloak/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: keycloak.yaml
|
||||
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: local-path-provisioner.yaml
|
||||
6
infrastructure/minio/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/minio/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: minio.yaml
|
||||
6
infrastructure/openldap/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/openldap/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: openldap.yaml
|
||||
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: openobserve.yaml
|
||||
6
infrastructure/postgresql/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/postgresql/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: postgresql.yaml
|
||||
6
infrastructure/rabbitmq/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/rabbitmq/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: rabbitmq.yaml
|
||||
6
infrastructure/redis/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/redis/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: redis.yaml
|
||||
6
infrastructure/s3-proxy/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/s3-proxy/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: s3-proxy.yaml
|
||||
6
infrastructure/vault/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/vault/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: vault.yaml
|
||||
6
infrastructure/zitadel/yc-k8s-test/kustomization.yaml
Normal file
6
infrastructure/zitadel/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: zitadel.yaml
|
||||
Loading…
Reference in New Issue
Block a user