# GitRepository source for infrastructure apiVersion: source.toolkit.fluxcd.io/v1 kind: GitRepository metadata: name: infrastructure namespace: flux-system spec: interval: 5m url: http://forgejo-http.forgejo.svc.cluster.local:3000/gitadmin/infrastructure.git ref: branch: main timeout: 60s secretRef: name: forgejo-auth --- # Kustomization to sync infrastructure manifests apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: infrastructure namespace: flux-system spec: interval: 10m path: "./" prune: true sourceRef: kind: GitRepository name: infrastructure timeout: 5m wait: true # Flux will now use kustomization.yaml to control which resources to sync commonMetadata: annotations: fluxcd.io/managed-by: "flux"