From da0ad9781000bbcc1363b1c6bc7eb85ebe3c89c8 Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Mon, 8 Jul 2024 23:01:02 -0400 Subject: [PATCH] testing --- cluster/{apps => }/charts/authentik-chart.yaml | 0 cluster/infra/flux-secret-map.yaml | 16 ++++++++++++++++ cluster/infra/git-repo.yaml | 10 ++++++++++ 3 files changed, 26 insertions(+) rename cluster/{apps => }/charts/authentik-chart.yaml (100%) create mode 100644 cluster/infra/flux-secret-map.yaml create mode 100644 cluster/infra/git-repo.yaml diff --git a/cluster/apps/charts/authentik-chart.yaml b/cluster/charts/authentik-chart.yaml similarity index 100% rename from cluster/apps/charts/authentik-chart.yaml rename to cluster/charts/authentik-chart.yaml diff --git a/cluster/infra/flux-secret-map.yaml b/cluster/infra/flux-secret-map.yaml new file mode 100644 index 0000000..57016da --- /dev/null +++ b/cluster/infra/flux-secret-map.yaml @@ -0,0 +1,16 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: apps + namespace: flux-system +spec: + interval: 10m0s + path: ./apps + prune: true + sourceRef: + kind: GitRepository + name: kub-repo + postBuild: + substituteFrom: + - kind: ConfigMap + name: global-vars diff --git a/cluster/infra/git-repo.yaml b/cluster/infra/git-repo.yaml new file mode 100644 index 0000000..60ffd3f --- /dev/null +++ b/cluster/infra/git-repo.yaml @@ -0,0 +1,10 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: GitRepository +metadata: + name: kub-repo + namespace: flux-system +spec: + interval: 10m0s + url: https://git.mafyuh.dev/mafyuh/kub + ref: + branch: main \ No newline at end of file