From a685bd05b64d5543d37dd43a8eccc19f7d83c406 Mon Sep 17 00:00:00 2001 From: "thibault.raquet" Date: Wed, 3 Jul 2024 23:29:47 +0200 Subject: [PATCH] fix mariadb resources --- .../kustomizations/cert-manager.yaml | 44 ----------- .../kustomizations/flux-resources.yaml | 17 ----- .../kustomizations/gitlab-agent.yaml | 22 ------ .../kustomizations/gitlab-runner.yaml | 22 ------ .../kustomizations/hashicorp-vault.yaml | 73 ------------------- .../production/kustomizations/ldc-custom.yaml | 17 ----- flux/production/kustomizations/mariadb.yaml | 26 ------- .../production/kustomizations/namespaces.yaml | 32 -------- .../kustomizations/prometheus-stack.yaml | 26 ------- flux/production/kustomizations/traefik.yaml | 26 ------- flux/staging/kustomizations/cert-manager.yaml | 49 ------------- .../kustomizations/flux-resources.yaml | 14 ---- flux/staging/kustomizations/gitlab-agent.yaml | 22 ------ .../staging/kustomizations/gitlab-runner.yaml | 22 ------ .../kustomizations/hashicorp-vault.yaml | 69 ------------------ flux/staging/kustomizations/ldc-custom.yaml | 17 ----- flux/staging/kustomizations/mariadb.yaml | 23 ------ flux/staging/kustomizations/namespaces.yaml | 32 -------- .../kustomizations/prometheus-stack.yaml | 23 ------ flux/staging/kustomizations/traefik.yaml | 26 ------- 20 files changed, 602 deletions(-) delete mode 100644 flux/production/kustomizations/cert-manager.yaml delete mode 100644 flux/production/kustomizations/flux-resources.yaml delete mode 100644 flux/production/kustomizations/gitlab-agent.yaml delete mode 100644 flux/production/kustomizations/gitlab-runner.yaml delete mode 100644 flux/production/kustomizations/hashicorp-vault.yaml delete mode 100644 flux/production/kustomizations/ldc-custom.yaml delete mode 100644 flux/production/kustomizations/mariadb.yaml delete mode 100644 flux/production/kustomizations/namespaces.yaml delete mode 100644 flux/production/kustomizations/prometheus-stack.yaml delete mode 100644 flux/production/kustomizations/traefik.yaml delete mode 100644 flux/staging/kustomizations/cert-manager.yaml delete mode 100644 flux/staging/kustomizations/flux-resources.yaml delete mode 100644 flux/staging/kustomizations/gitlab-agent.yaml delete mode 100644 flux/staging/kustomizations/gitlab-runner.yaml delete mode 100644 flux/staging/kustomizations/hashicorp-vault.yaml delete mode 100644 flux/staging/kustomizations/ldc-custom.yaml delete mode 100644 flux/staging/kustomizations/mariadb.yaml delete mode 100644 flux/staging/kustomizations/namespaces.yaml delete mode 100644 flux/staging/kustomizations/prometheus-stack.yaml delete mode 100644 flux/staging/kustomizations/traefik.yaml diff --git a/flux/production/kustomizations/cert-manager.yaml b/flux/production/kustomizations/cert-manager.yaml deleted file mode 100644 index 68e332f..0000000 --- a/flux/production/kustomizations/cert-manager.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: cert-manager - namespace: flux-system -spec: - interval: 1m0s - path: ./infrastructure/cert-manager - prune: false - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1 - kind: HelmRepository - name: cert-manager - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: cert-manager - namespace: common-services - dependsOn: - - name: external-secrets-resources - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - timeout: 5m - ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: cert-manager-resources - namespace: flux-system -spec: - interval: 1m0s - path: ./infrastructure/cert-manager/resources - prune: false - dependsOn: - - name: cert-manager - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - timeout: 5m diff --git a/flux/production/kustomizations/flux-resources.yaml b/flux/production/kustomizations/flux-resources.yaml deleted file mode 100644 index 6def738..0000000 --- a/flux/production/kustomizations/flux-resources.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: flux-resources - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/flux-resources - prune: false - dependsOn: - - name: external-secrets-resources - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - namespace: flux-system diff --git a/flux/production/kustomizations/gitlab-agent.yaml b/flux/production/kustomizations/gitlab-agent.yaml deleted file mode 100644 index 5f46189..0000000 --- a/flux/production/kustomizations/gitlab-agent.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: gitlab-agent - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/gitlab-agent - prune: false - dependsOn: - - name: flux-resources - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1 - kind: HelmRepository - name: gitlab-agent - namespace: common-services - timeout: 5m diff --git a/flux/production/kustomizations/gitlab-runner.yaml b/flux/production/kustomizations/gitlab-runner.yaml deleted file mode 100644 index 01b94ab..0000000 --- a/flux/production/kustomizations/gitlab-runner.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: gitlab-runner - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/gitlab-runner - prune: false - dependsOn: - - name: flux-resources - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1 - kind: HelmRepository - name: gitlab-runner - namespace: common-services - timeout: 5m diff --git a/flux/production/kustomizations/hashicorp-vault.yaml b/flux/production/kustomizations/hashicorp-vault.yaml deleted file mode 100644 index 5511514..0000000 --- a/flux/production/kustomizations/hashicorp-vault.yaml +++ /dev/null @@ -1,73 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: hashicorp-vault - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/hashicorp-vault - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - dependsOn: - - name: namespaces - namespace: flux-system - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1 - kind: HelmRepository - name: hashicorp - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: vault - namespace: common-services - timeout: 5m - ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: external-secrets - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/hashicorp-vault/external-secrets - prune: false - dependsOn: - - name: hashicorp-vault - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - namespace: flux-system - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1 - kind: HelmRepository - name: external-secrets - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: external-secrets-operator - namespace: common-services - timeout: 10m - ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: external-secrets-resources - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/hashicorp-vault/external-secrets/resources - prune: false - dependsOn: - - name: external-secrets - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - namespace: flux-system - timeout: 10m diff --git a/flux/production/kustomizations/ldc-custom.yaml b/flux/production/kustomizations/ldc-custom.yaml deleted file mode 100644 index 0b00b11..0000000 --- a/flux/production/kustomizations/ldc-custom.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: ldc-custom - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/ldc-custom - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - dependsOn: - - name: prometheus-stack - namespace: flux-system - timeout: 5m diff --git a/flux/production/kustomizations/mariadb.yaml b/flux/production/kustomizations/mariadb.yaml deleted file mode 100644 index 21b44cf..0000000 --- a/flux/production/kustomizations/mariadb.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: mariadb - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/mariadb - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - dependsOn: - - name: external-secrets-resources - namespace: flux-system - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1 - kind: HelmRepository - name: bitnami - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: mariadb - namespace: common-services - timeout: 5m diff --git a/flux/production/kustomizations/namespaces.yaml b/flux/production/kustomizations/namespaces.yaml deleted file mode 100644 index a2ad9dc..0000000 --- a/flux/production/kustomizations/namespaces.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: namespaces - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/namespaces - prune: false - dependsOn: - - name: flux-system - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - healthChecks: - - apiVersion: v1 - kind: Namespace - name: common-services - - apiVersion: v1 - kind: Namespace - name: production - - apiVersion: v1 - kind: Namespace - name: review - - apiVersion: v1 - kind: Namespace - name: staging - - apiVersion: v1 - kind: Namespace - name: velero diff --git a/flux/production/kustomizations/prometheus-stack.yaml b/flux/production/kustomizations/prometheus-stack.yaml deleted file mode 100644 index 0ab5e5d..0000000 --- a/flux/production/kustomizations/prometheus-stack.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: prometheus-stack - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/prometheus-stack - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - dependsOn: - - name: external-secrets-resources - namespace: flux-system - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1 - kind: HelmRepository - name: prometheus-community - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: prometheus-stack - namespace: common-services - timeout: 10m diff --git a/flux/production/kustomizations/traefik.yaml b/flux/production/kustomizations/traefik.yaml deleted file mode 100644 index fc5aa8a..0000000 --- a/flux/production/kustomizations/traefik.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: traefik - namespace: flux-system -spec: - interval: 1m0s - path: ./infrastructure/traefik - prune: false - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1 - kind: HelmRepository - name: traefik - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: traefik - namespace: common-services - dependsOn: - - name: cert-manager-resources - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - timeout: 5m diff --git a/flux/staging/kustomizations/cert-manager.yaml b/flux/staging/kustomizations/cert-manager.yaml deleted file mode 100644 index c250aca..0000000 --- a/flux/staging/kustomizations/cert-manager.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: cert-manager - namespace: flux-system -spec: - interval: 1m0s - path: ./infrastructure/cert-manager - prune: false - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1beta2 - kind: HelmRepository - name: cert-manager - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2beta2 - kind: HelmRelease - name: cert-manager - namespace: common-services - dependsOn: - - name: namespaces - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - timeout: 5m - ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: cert-manager-resources - namespace: flux-system -spec: - interval: 1m0s - path: ./infrastructure/cert-manager/resources - prune: false - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2beta2 - kind: HelmRelease - name: common-services - namespace: cert-manager - dependsOn: - - name: cert-manager - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - timeout: 5m diff --git a/flux/staging/kustomizations/flux-resources.yaml b/flux/staging/kustomizations/flux-resources.yaml deleted file mode 100644 index 885a0ca..0000000 --- a/flux/staging/kustomizations/flux-resources.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: flux-resources - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/flux-resources - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - namespace: flux-system diff --git a/flux/staging/kustomizations/gitlab-agent.yaml b/flux/staging/kustomizations/gitlab-agent.yaml deleted file mode 100644 index c21dcc1..0000000 --- a/flux/staging/kustomizations/gitlab-agent.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: gitlab-agent - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/gitlab-agent - prune: false - dependsOn: - - name: flux-resources - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1beta2 - kind: HelmRepository - name: gitlab-agent - namespace: common-services - timeout: 5m diff --git a/flux/staging/kustomizations/gitlab-runner.yaml b/flux/staging/kustomizations/gitlab-runner.yaml deleted file mode 100644 index 48396da..0000000 --- a/flux/staging/kustomizations/gitlab-runner.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: gitlab-runner - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/gitlab-runner - prune: false - dependsOn: - - name: flux-resources - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1beta2 - kind: HelmRepository - name: gitlab-runner - namespace: common-services - timeout: 5m diff --git a/flux/staging/kustomizations/hashicorp-vault.yaml b/flux/staging/kustomizations/hashicorp-vault.yaml deleted file mode 100644 index 36e3341..0000000 --- a/flux/staging/kustomizations/hashicorp-vault.yaml +++ /dev/null @@ -1,69 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: hashicorp-vault - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/hashicorp-vault - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - dependsOn: - - name: namespaces - namespace: flux-system - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1beta2 - kind: HelmRepository - name: hashicorp - namespace: common-services - timeout: 5m - ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: external-secrets - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/hashicorp-vault/external-secrets - prune: false - dependsOn: - - name: hashicorp-vault - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - namespace: flux-system - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1beta2 - kind: HelmRepository - name: external-secrets - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2beta2 - kind: HelmRelease - name: external-secrets-operator - namespace: common-services - timeout: 10m - ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: external-secrets-resources - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/hashicorp-vault/external-secrets/resources - prune: false - dependsOn: - - name: external-secrets - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - namespace: flux-system - timeout: 10m diff --git a/flux/staging/kustomizations/ldc-custom.yaml b/flux/staging/kustomizations/ldc-custom.yaml deleted file mode 100644 index 99d2405..0000000 --- a/flux/staging/kustomizations/ldc-custom.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: ldc-custom - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/ldc-custom - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - dependsOn: - - name: prometheus-stack - namespace: flux-system - timeout: 5m diff --git a/flux/staging/kustomizations/mariadb.yaml b/flux/staging/kustomizations/mariadb.yaml deleted file mode 100644 index a73602b..0000000 --- a/flux/staging/kustomizations/mariadb.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: mariadb - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/mariadb - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1beta2 - kind: HelmRepository - name: bitnami - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2beta2 - kind: HelmRelease - name: mariadb - namespace: common-services - timeout: 5m diff --git a/flux/staging/kustomizations/namespaces.yaml b/flux/staging/kustomizations/namespaces.yaml deleted file mode 100644 index a2ad9dc..0000000 --- a/flux/staging/kustomizations/namespaces.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: namespaces - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/namespaces - prune: false - dependsOn: - - name: flux-system - namespace: flux-system - sourceRef: - kind: GitRepository - name: cluster-k8s - healthChecks: - - apiVersion: v1 - kind: Namespace - name: common-services - - apiVersion: v1 - kind: Namespace - name: production - - apiVersion: v1 - kind: Namespace - name: review - - apiVersion: v1 - kind: Namespace - name: staging - - apiVersion: v1 - kind: Namespace - name: velero diff --git a/flux/staging/kustomizations/prometheus-stack.yaml b/flux/staging/kustomizations/prometheus-stack.yaml deleted file mode 100644 index 68da367..0000000 --- a/flux/staging/kustomizations/prometheus-stack.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: prometheus-stack - namespace: flux-system -spec: - interval: 30s - path: ./infrastructure/prometheus-stack - prune: false - sourceRef: - kind: GitRepository - name: cluster-k8s - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1beta2 - kind: HelmRepository - name: prometheus-community - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2beta2 - kind: HelmRelease - name: prometheus-stack - namespace: common-services - timeout: 10m diff --git a/flux/staging/kustomizations/traefik.yaml b/flux/staging/kustomizations/traefik.yaml deleted file mode 100644 index 956655e..0000000 --- a/flux/staging/kustomizations/traefik.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: traefik - namespace: flux-system -spec: - interval: 1m0s - path: ./infrastructure/traefik - prune: false - healthChecks: - - apiVersion: source.toolkit.fluxcd.io/v1beta2 - kind: HelmRepository - name: traefik - namespace: common-services - - apiVersion: helm.toolkit.fluxcd.io/v2beta2 - kind: HelmRelease - name: traefik - namespace: common-services - dependsOn: - - name: cert-manager-resources - namespace: common-services - sourceRef: - kind: GitRepository - name: cluster-k8s - timeout: 5m