-
Notifications
You must be signed in to change notification settings - Fork 76
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
Docker cluster template #308
Docker cluster template #308
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could kustomize help avoid doing everything in sed
? We seem to use it elsewhere. Any reason we not using it here?
This did cross my mind. But looks like kustomize edit can do only so many things
Even if we consider setting fields to empty instead of removing them,
But I do hear you. Doing so many sed & perl commands on a release artifact may not always be reliable. How about we maintain 2 sets of cluster templates in the repo itself? Thoughts? @jamiemonserrate @dharmjit |
Having explicit templates for VM/docker would make it easier to understand the generation of different flavors of |
Agree with where this thread is heading. I can see that the AWS provider is doing something similar - that is, they have a kustomize_sources folder, just like we are planning to have. So that reassures me that we are heading in the right direction 😄 |
1a32fdb
to
cd6fee4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
- create new set of templates for vm based hosts - update GH action to include multiple cluster templates in release artifacts - update make tasks to generate multiple cluster templates
cd6fee4
to
56b78c2
Compare
What this PR does / why we need it:
Creating separate cluster templates in the release artifacts - one for docker based byohosts and the other for vm based byohosts
e2e cluster templates are in a separate e2e directory - no release artifacts for this
Test release on my forked repo - https://github.com/anusha94/cluster-api-provider-bringyourownhost/releases/tag/v0.0.7
Diff:
Fixes #277