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

Distribute entire git repository artifacts #200

Closed
sylr opened this issue Nov 12, 2020 · 2 comments
Closed

Distribute entire git repository artifacts #200

sylr opened this issue Nov 12, 2020 · 2 comments

Comments

@sylr
Copy link

sylr commented Nov 12, 2020

Hi,

Unless I'm mistaken the source controller exclude the .git dir from the artifacts it generates.

This way of doing this will limit the ability to make kustomize use local paths using git references when go-getter will have merged its support.

So I'm proposing an optional property for GitRepository which will allows to create artifacts containing all the git data.

Regards.

@stefanprodan
Copy link
Member

You can include any dir using spec.ignore check the docs https://toolkit.fluxcd.io/components/source/gitrepositories/#excluding-files

@sylr
Copy link
Author

sylr commented Nov 12, 2020

Brilliant! Sorry for the noise.

@sylr sylr closed this as completed Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants