Skip to content

docs: Clarify the Kustomize components relative paths requirement #861

Merged
stefanprodan merged 1 commit intofluxcd:mainfrom
danielloader:main
May 12, 2023
Merged

docs: Clarify the Kustomize components relative paths requirement #861
stefanprodan merged 1 commit intofluxcd:mainfrom
danielloader:main

Conversation

@danielloader
Copy link
Copy Markdown
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.

Comment thread docs/spec/v1/kustomization.md Outdated
@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
Copy Markdown
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
```

**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
Copy Markdown
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
Copy Markdown
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.

4 participants