-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 clusterctl: add nutanix ipam & runtime extensions providers #11135
🌱 clusterctl: add nutanix ipam & runtime extensions providers #11135
Conversation
jimmidyson
commented
Sep 4, 2024
- 🌱 clusterctl: add nutanix ipam provider
- 🌱 clusterctl: add nutanix runtime extensions provider
a74ed48
to
aca26cf
Compare
/area clusterctl |
/label tide/merge-method-squash |
@elmiko @JoelSpeed if you have time for review 🙏 should be pretty quick and easy hopefully. |
@@ -98,13 +98,19 @@ const ( | |||
// IPAM providers. | |||
const ( | |||
InClusterIPAMProviderName = "in-cluster" | |||
NutanixIPAMProviderName = "nutanix" |
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.
NutanixIPAMProviderName = "nutanix" | |
NutanixIPAMProviderName = "nutanix-cloud-native-nutanix" |
To follow the conventions at https://main.cluster-api.sigs.k8s.io/clusterctl/provider-contract.html#adding-a-provider-to-clusterctl
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.
We already have an infra provider simply called nutanix at https://github.com/kubernetes-sigs/cluster-api/blob/main/cmd/clusterctl/client/config/providers_client.go#L55 and it would be great if we could use the same name for these other provider types for consistency 🙏
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.
Good point. Maybe it's fine if a GitHub org already "claimed" the name via another provider
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.
Would make sense. Fine for me if we have an agreement :-)
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.
@fabriziopandini @vincepri WDYT?
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.
I think we can allow this because https://github.com/nutanix is owned by the same org that owns https://github.com/nutanix-cloud-native.
Do you mind updating https://cluster-api.sigs.k8s.io/clusterctl/provider-contract.html#providers-github-org-prefix with something like
In case the entity proposing the new providers owns different github organizations, it is also possible to Provider's GitHub org prefix (in this case it is up to this entity to avoid or address conflicts).
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.
I'm not sure we need to update any docs. Can't we just agree as we (Nutanix) already claimed the nutanix
provider name for infra provider as mentioned above?
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.
I've added some docs as requested. Please review when you get a chance 🙏
I'm fine with allowing to use simply "nutanix" given that the same org already owns the "nutanix" infra provider. @jimmidyson Is this the only thing blocking this PR (apart from rebase + the nit above)? |
aca26cf
to
bb7270a
Compare
@sbueringer Yes this is now ready to go! Tested locally and all working perfectly! |
commented above |
bb7270a
to
51e59b9
Compare
@sbueringer @fabriziopandini Ping 🙏 Would love to get this merged. |
Thx! /lgtm |
LGTM label has been added. Git tree hash: 21addfc95ae91d8a92e0405ff0a90ba65c1553cf
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Feel free to cherry-pick into release-1.8 if you want (might require a manual cherry-pick) |
/cherrypick release-1.8 |
@jimmidyson: once the present PR merges, I will cherry-pick it on top of In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@jimmidyson: #11135 failed to apply on top of branch "release-1.8":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…etes-sigs#11135) * 🌱 clusterctl: add nutanix ipam provider * 🌱 clusterctl: add nutanix runtime extensions provider * docs: Add more info on github org prefix
…viders Backporting of kubernetes-sigs#11135. * 🌱 clusterctl: add nutanix ipam provider * 🌱 clusterctl: add nutanix runtime extensions provider * docs: Add more info on github org prefix
…viders Backporting of kubernetes-sigs#11135. * 🌱 clusterctl: add nutanix ipam provider * 🌱 clusterctl: add nutanix runtime extensions provider * docs: Add more info on github org prefix
Manual backport in #11414 |