Skip to content

docs: Add explanation to the usage of spec.sourceRef.name: flux-system #1421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/spec/v1/kustomizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ Artifact containing the YAML manifests. It has two required fields:
+ [OCIRepository](https://github.com/fluxcd/source-controller/blob/main/docs/spec/v1beta2/ocirepositories.md)
+ [Bucket](https://github.com/fluxcd/source-controller/blob/main/docs/spec/v1/buckets.md)
- `name`: The Name of the referred Source object.
* The name value `spec.sourceRef.name: flux-system` refers to the the `GitRepository` generated during `flux bootstrap --path=./clusters/<cluster-name> ...`, which may be found in the `cluster/<cluster-name>/flux-system/gotk-sync.yaml` file.
+ Given that using `spec.sourceRef.name: flux-system` is self-referential, as it refers to the same repository in which the Kustomization manifest resides, the `spec.path` utilized is relative to the root of the repository.

#### Cross-namespace references

Expand Down