From 9a393e13266fb66d5ee1682b22e3c65cbb46e58c Mon Sep 17 00:00:00 2001 From: LordMathis Date: Mon, 23 Sep 2024 20:56:10 +0200 Subject: [PATCH] Add infrastructure to flux --- .../prod/flux-system/infrastructure-prod.yaml | 16 ++++++++++++++++ clusters/prod/flux-system/kustomization.yaml | 1 + 2 files changed, 17 insertions(+) create mode 100644 clusters/prod/flux-system/infrastructure-prod.yaml diff --git a/clusters/prod/flux-system/infrastructure-prod.yaml b/clusters/prod/flux-system/infrastructure-prod.yaml new file mode 100644 index 0000000..b4aaadb --- /dev/null +++ b/clusters/prod/flux-system/infrastructure-prod.yaml @@ -0,0 +1,16 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: infrastructure-prod + namespace: flux-system +spec: + interval: 30m + path: ./infrastructure/prod + prune: true + sourceRef: + kind: GitRepository + name: flux-system + decryption: + provider: sops + secretRef: + name: sops-age diff --git a/clusters/prod/flux-system/kustomization.yaml b/clusters/prod/flux-system/kustomization.yaml index 3842229..901e4f1 100644 --- a/clusters/prod/flux-system/kustomization.yaml +++ b/clusters/prod/flux-system/kustomization.yaml @@ -3,3 +3,4 @@ kind: Kustomization resources: - gotk-components.yaml - gotk-sync.yaml +- infrastructure-prod.yaml \ No newline at end of file