Skip to content
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

docs: Clarify the Kustomize components relative paths requirement #861

Merged
merged 1 commit into from
May 12, 2023

Conversation

danielloader
Copy link
Contributor

@danielloader danielloader commented May 12, 2023

WARNING: Since components are alpha level in kustomize this may be removed at any time.

Add clarification on how to handle component paths

Currently the advice is that the components are relative to the source root path and after some investigation I've found they're relative to the .spec.path which itself is an absolute reference to the source root.

Updated the documentation to match.

@stefanprodan stefanprodan changed the title Update kustomization.md around component paths docs: Clarify the Kustomize components relative paths requirement May 12, 2023
@stefanprodan stefanprodan added the area/docs Documentation related issues and pull requests label May 12, 2023
Add clarification on how to handle component(s) paths.

Signed-off-by: Daniel Loader <hello@danielloader.uk>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @danielloader 🏅

@stefanprodan stefanprodan merged commit a058ccf into fluxcd:main May 12, 2023
6 checks passed
```

**Note:** The component paths must be local and relative to the source root.
**Note:** The components paths must be local and relative to the path specified by `.spec.path`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does "local" mean here? Is that an antonym to "remote"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we disallow remote component bases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Documentation related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants