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