From 4e273c959e0b6a4380374fa54f033321ab9b9231 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 9 May 2022 14:27:44 +0200 Subject: [PATCH] Deleted unneeded defs and created more kustomizations --- .../platform/cert-manager/cert-manager.yaml | 15 --------------- .../platform/sealed-secrets/sealed-secrets.yaml | 15 --------------- clank/clusters/platform/traefik/traefik.yaml | 15 --------------- clank/platform/cert-manager/kustomization.yaml | 8 ++++++++ clank/platform/sealed-secrets/kustomization.yaml | 5 +++++ clank/platform/traefik/kustomization.yaml | 5 +++++ 6 files changed, 18 insertions(+), 45 deletions(-) delete mode 100644 clank/clusters/platform/cert-manager/cert-manager.yaml delete mode 100644 clank/clusters/platform/sealed-secrets/sealed-secrets.yaml delete mode 100644 clank/clusters/platform/traefik/traefik.yaml create mode 100644 clank/platform/cert-manager/kustomization.yaml create mode 100644 clank/platform/sealed-secrets/kustomization.yaml create mode 100644 clank/platform/traefik/kustomization.yaml diff --git a/clank/clusters/platform/cert-manager/cert-manager.yaml b/clank/clusters/platform/cert-manager/cert-manager.yaml deleted file mode 100644 index 27198e9..0000000 --- a/clank/clusters/platform/cert-manager/cert-manager.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 -kind: Kustomization -metadata: - name: cert-manager - namespace: platform -spec: - interval: 30m0s - retryInterval: 30s - path: ./clank/platform/cert-manager - prune: true - sourceRef: - kind: GitRepository - name: cert-manager - targetNamespace: default diff --git a/clank/clusters/platform/sealed-secrets/sealed-secrets.yaml b/clank/clusters/platform/sealed-secrets/sealed-secrets.yaml deleted file mode 100644 index d04457e..0000000 --- a/clank/clusters/platform/sealed-secrets/sealed-secrets.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 -kind: Kustomization -metadata: - name: sealed-secrets - namespace: platform -spec: - interval: 30m0s - retryInterval: 30s - path: ./clank/platform/sealed-secrets - prune: true - sourceRef: - kind: GitRepository - name: sealed-secrets - namespace: flux-system diff --git a/clank/clusters/platform/traefik/traefik.yaml b/clank/clusters/platform/traefik/traefik.yaml deleted file mode 100644 index 1e95fd1..0000000 --- a/clank/clusters/platform/traefik/traefik.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 -kind: Kustomization -metadata: - name: traefik - namespace: platform -spec: - interval: 30m0s - retryInterval: 30s - path: ./clank/platform/traefik - prune: true - sourceRef: - kind: GitRepository - name: traefik - namespace: flux-system diff --git a/clank/platform/cert-manager/kustomization.yaml b/clank/platform/cert-manager/kustomization.yaml new file mode 100644 index 0000000..10c159f --- /dev/null +++ b/clank/platform/cert-manager/kustomization.yaml @@ -0,0 +1,8 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - cert-manager.yaml + - certificate.yaml + - cloudflare-secret.sealed.yaml + - cluster-issuer.yaml + diff --git a/clank/platform/sealed-secrets/kustomization.yaml b/clank/platform/sealed-secrets/kustomization.yaml new file mode 100644 index 0000000..bdeede8 --- /dev/null +++ b/clank/platform/sealed-secrets/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - controller.yaml + diff --git a/clank/platform/traefik/kustomization.yaml b/clank/platform/traefik/kustomization.yaml new file mode 100644 index 0000000..fb364ce --- /dev/null +++ b/clank/platform/traefik/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - helm-chart-config.traefik.yaml + - kustomization.yaml