Restructure brusnika-prod infrastructure by splitting component configurations into dedicated directories and adding respective kustomizations.
This commit is contained in:
parent
dfab98373f
commit
5e40cbd08b
@ -3,134 +3,21 @@ kind: Kustomization
|
||||
resources:
|
||||
- ../../../infrastructure/istio-base
|
||||
- ../../../infrastructure/istio-pilot
|
||||
- ../../../infrastructure/istio-gateway
|
||||
- ../../../infrastructure/istio-config
|
||||
- ../../../infrastructure/vault
|
||||
- ../../../infrastructure/zitadel
|
||||
- ../../../infrastructure/minio
|
||||
- ../../../infrastructure/openobserve
|
||||
- ../../../infrastructure/vmstack
|
||||
- ../../../infrastructure/prometheus-stack
|
||||
- ../../../infrastructure/opentelemetry-operator
|
||||
- ../../../infrastructure/opentelemetry-collector
|
||||
- ../../../infrastructure/goalert
|
||||
- ../../../infrastructure/kafka-exporter
|
||||
- ../../../infrastructure/postgres-exporter
|
||||
- ../../../infrastructure/pgbouncer
|
||||
- ./vault-ingress.yaml
|
||||
- ../../../infrastructure/istio-gateway/brusnika-prod
|
||||
- ../../../infrastructure/istio-config/brusnika-prod
|
||||
- ../../../infrastructure/vault/brusnika-prod
|
||||
- ../../../infrastructure/zitadel/brusnika-prod
|
||||
- ../../../infrastructure/minio/brusnika-prod
|
||||
- ../../../infrastructure/openobserve/brusnika-prod
|
||||
- ../../../infrastructure/vmstack/brusnika-prod
|
||||
- ../../../infrastructure/prometheus-stack/brusnika-prod
|
||||
- ../../../infrastructure/opentelemetry-operator/brusnika-prod
|
||||
- ../../../infrastructure/opentelemetry-collector/brusnika-prod
|
||||
- ../../../infrastructure/goalert/brusnika-prod
|
||||
- ../../../infrastructure/kafka-exporter/brusnika-prod
|
||||
- ../../../infrastructure/postgres-exporter/brusnika-prod
|
||||
- ../../../infrastructure/pgbouncer/brusnika-prod
|
||||
- ./clusterissuer-letsencrypt.yaml
|
||||
- ./node-exporter-vmnodescrape.yaml
|
||||
- ./istio-gateway-stats-scrape.yaml
|
||||
- ./istio-dashboard-compat-vmrule.yaml
|
||||
- ./camunda-servicemonitors.yaml
|
||||
- ./rabbitmq-exporter.yaml
|
||||
- ./kafka-exporter-yc.yaml
|
||||
- ./kafka-exporter-yc-rules.yaml
|
||||
- ./kafka-exporter-yc-dashboard.yaml
|
||||
- ../../../infrastructure/failed-pod-cleanup
|
||||
patches:
|
||||
- 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/vault.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: vault
|
||||
namespace: vault
|
||||
- path: ./patches/zitadel.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: zitadel
|
||||
namespace: zitadel
|
||||
- path: ./patches/minio.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: minio
|
||||
namespace: minio
|
||||
- path: ./patches/openobserve.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: openobserve
|
||||
namespace: openobserve
|
||||
- path: ./patches/vmstack.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: vmstack
|
||||
namespace: vmstack
|
||||
- path: ./patches/prometheus-stack.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: prometheus-stack
|
||||
namespace: prometheus-stack
|
||||
- path: ./patches/opentelemetry-operator.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: opentelemetry-operator
|
||||
namespace: opentelemetry-operator
|
||||
- path: ./patches/opentelemetry-collector.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: opentelemetry-collector
|
||||
namespace: opentelemetry-collector
|
||||
- path: ./patches/goalert.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: goalert
|
||||
namespace: goalert
|
||||
- path: ./patches/kafka-exporter.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: kafka-exporter
|
||||
namespace: kafka-exporter
|
||||
- path: ./patches/postgres-exporter.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: postgres-exporter
|
||||
namespace: postgres-exporter
|
||||
- path: ./patches/failed-pod-cleanup.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: failed-pod-cleanup
|
||||
namespace: default
|
||||
- path: ./patches/pgbouncer.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: pgbouncer
|
||||
namespace: pgbouncer
|
||||
- ../../../infrastructure/failed-pod-cleanup/brusnika-prod
|
||||
|
||||
12
infrastructure/goalert/brusnika-prod/kustomization.yaml
Normal file
12
infrastructure/goalert/brusnika-prod/kustomization.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./goalert.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: goalert
|
||||
namespace: goalert
|
||||
12
infrastructure/istio-config/brusnika-prod/kustomization.yaml
Normal file
12
infrastructure/istio-config/brusnika-prod/kustomization.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./istio-config.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: istio-config
|
||||
namespace: default
|
||||
@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
- ./istio-gateway-stats-scrape.yaml
|
||||
- ./istio-dashboard-compat-vmrule.yaml
|
||||
patches:
|
||||
- path: ./istio-gateway.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: ingressgateway
|
||||
namespace: istio-system
|
||||
@ -0,0 +1,15 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
- ./kafka-exporter-yc.yaml
|
||||
- ./kafka-exporter-yc-rules.yaml
|
||||
- ./kafka-exporter-yc-dashboard.yaml
|
||||
patches:
|
||||
- path: ./kafka-exporter.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: kafka-exporter
|
||||
namespace: kafka-exporter
|
||||
12
infrastructure/minio/brusnika-prod/kustomization.yaml
Normal file
12
infrastructure/minio/brusnika-prod/kustomization.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./minio.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: minio
|
||||
namespace: minio
|
||||
12
infrastructure/openobserve/brusnika-prod/kustomization.yaml
Normal file
12
infrastructure/openobserve/brusnika-prod/kustomization.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./openobserve.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: openobserve
|
||||
namespace: openobserve
|
||||
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./opentelemetry-collector.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: opentelemetry-collector
|
||||
namespace: opentelemetry-collector
|
||||
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./opentelemetry-operator.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: opentelemetry-operator
|
||||
namespace: opentelemetry-operator
|
||||
12
infrastructure/pgbouncer/brusnika-prod/kustomization.yaml
Normal file
12
infrastructure/pgbouncer/brusnika-prod/kustomization.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./pgbouncer.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: pgbouncer
|
||||
namespace: pgbouncer
|
||||
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./postgres-exporter.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: postgres-exporter
|
||||
namespace: postgres-exporter
|
||||
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./prometheus-stack.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: prometheus-stack
|
||||
namespace: prometheus-stack
|
||||
13
infrastructure/vault/brusnika-prod/kustomization.yaml
Normal file
13
infrastructure/vault/brusnika-prod/kustomization.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
- ./vault-ingress.yaml
|
||||
patches:
|
||||
- path: ./vault.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: vault
|
||||
namespace: vault
|
||||
13
infrastructure/vmstack/brusnika-prod/kustomization.yaml
Normal file
13
infrastructure/vmstack/brusnika-prod/kustomization.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
- ./node-exporter-vmnodescrape.yaml
|
||||
patches:
|
||||
- path: ./vmstack.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: vmstack
|
||||
namespace: vmstack
|
||||
12
infrastructure/zitadel/brusnika-prod/kustomization.yaml
Normal file
12
infrastructure/zitadel/brusnika-prod/kustomization.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: ./zitadel.yaml
|
||||
target:
|
||||
group: helm.toolkit.fluxcd.io
|
||||
version: v2
|
||||
kind: HelmRelease
|
||||
name: zitadel
|
||||
namespace: zitadel
|
||||
Loading…
Reference in New Issue
Block a user