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

rollouts: clusterstore enhancements to support local kind clusters #3875

Merged
merged 2 commits into from
Mar 14, 2023

Conversation

droot
Copy link
Contributor

@droot droot commented Mar 11, 2023

This PR adds support for targeting local kind clusters.

Note: I am still contemplating moving all reference of clusters by name to ClusterRef, but little hesitant to do large refactor without much test coverage.

@droot droot force-pushed the rollouts-clusterstore-enhancements branch from 199f852 to 3020d33 Compare March 13, 2023 18:26
@droot droot marked this pull request as ready for review March 13, 2023 21:45
@droot droot requested a review from a team as a code owner March 13, 2023 21:45
@droot droot requested a review from natasha41575 March 13, 2023 21:45
Copy link
Contributor

@natasha41575 natasha41575 left a comment

Choose a reason for hiding this comment

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

code lgtm! I look forward to trying this out

kindClusters.SetGroupVersionKind(schema.GroupVersionKind{
Group: "",
Version: "v1",
Kind: "ConfigMapList",
Copy link
Contributor

Choose a reason for hiding this comment

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

Want to make sure I understand this correctly:

This PR introduces kind cluster support by expecting users to have ConfigMaps in the admin cluster in the kindClustersNamespace. Each ConfigMap should contain the kubeconfig for the kind cluster it represents in the data.kubeconfig.yaml field.

So next step after this PR is merged would be to write some code that can automatically create the kind clusters and associated ConfigMaps. Is that correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You got that right.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for confirming. I’ll file an issue and get started on that!

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

Successfully merging this pull request may close these issues.

None yet

2 participants