# Not applied yet: url is a PLACEHOLDER, this repo has no git remote (see # ../../STATUS.md). Once it does, this object is what makes source-controller # actually clone it — nothing else does. # # Bootstrap step, same category as installing the Flux Operator itself # (see ../README.md): this file must be applied manually once # (`kubectl apply -f gitrepository.yaml`), because nothing can apply it # automatically before it exists — Flux can't fetch the object that tells it # where to fetch from. After that one-time apply, since this file lives # inside the k8s-platform repo that the GitRepository itself now points at, # a root Kustomization reconciling k8s-platform's own `flux/` directory # would keep it (and everything else here) self-managing going forward — # not scaffolded yet, out of scope for this file. # # Any other repo's Kustomization (e.g. dataplane-catalog's # flux-kustomization.yaml) can reference this SAME GitRepository by name — # one GitRepository per source repo, not per consumer. apiVersion: source.toolkit.fluxcd.io/v1 kind: GitRepository metadata: name: k8s-platform namespace: flux-system spec: interval: 5m url: PLACEHOLDER # e.g. https://github.com//k8s-platform ref: branch: main