From e590956732dabb425e18f8e97e7348b010d81b9b Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 27 Apr 2026 12:56:54 -0500 Subject: [PATCH] flux refactor --- k8s/{flux/gitrepository.yaml => flux.yaml} | 15 +++++++++++++++ k8s/flux/kustomization.yaml | 13 ------------- 2 files changed, 15 insertions(+), 13 deletions(-) rename k8s/{flux/gitrepository.yaml => flux.yaml} (50%) delete mode 100644 k8s/flux/kustomization.yaml diff --git a/k8s/flux/gitrepository.yaml b/k8s/flux.yaml similarity index 50% rename from k8s/flux/gitrepository.yaml rename to k8s/flux.yaml index 4237e8f..2000e06 100644 --- a/k8s/flux/gitrepository.yaml +++ b/k8s/flux.yaml @@ -1,3 +1,4 @@ +--- apiVersion: source.toolkit.fluxcd.io/v1 kind: GitRepository metadata: @@ -10,3 +11,17 @@ spec: branch: main secretRef: name: forgejo-git-credentials +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: aprs-app + namespace: flux-system +spec: + interval: 5m + sourceRef: + kind: GitRepository + name: aprs-me + path: ./k8s + prune: true + targetNamespace: aprs diff --git a/k8s/flux/kustomization.yaml b/k8s/flux/kustomization.yaml deleted file mode 100644 index 27eac96..0000000 --- a/k8s/flux/kustomization.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: aprs-app - namespace: flux-system -spec: - interval: 5m - sourceRef: - kind: GitRepository - name: aprs-me - path: ./k8s - prune: true - targetNamespace: aprs