-
Notifications
You must be signed in to change notification settings - Fork 570
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
✨ feat: support setting EKS AuthenticationMode #5108
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @adammw! |
Hi @adammw. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
A much appreciated change, given that |
8e9df3e
to
904ed61
Compare
This comment was marked as outdated.
This comment was marked as outdated.
/ok-to-test |
/test pull-cluster-api-provider-aws-e2e |
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.
Thanks for this @adammw
As well as setting the authentication mode, it would be great if there was a way to declaratively specify the access entries for the cluster.
@@ -165,6 +165,10 @@ type AWSManagedControlPlaneSpec struct { //nolint: maligned | |||
// +optional | |||
OIDCIdentityProviderConfig *OIDCIdentityProviderConfig `json:"oidcIdentityProviderConfig,omitempty"` | |||
|
|||
// AccessConfig specifies the access configuration information for the cluster | |||
// +optional | |||
AccessConfig *AccessConfig `json:"accessConfig,omitempty"` |
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.
You only need to add new API types to the latest API version (so v1beta2) in this case. This can be removed.
Due to the roundtripping requirement only having the field in the latest version of the API will probably cause the "fuzzing" test to fail. So you'll need to store & store the new API fields. Feel free to ping here or in slack if you need a hand.
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.
Yeah i originally had that but yes the fuzzing test was failing, and it was unclear how to get the fuzzer to ignore that field for roundtrip.
/test pull-cluster-api-provider-aws-e2e |
Yep, but also becomes a much larger PR so working on the smaller part first. |
Hi, when will this be released? |
/test pull-cluster-api-provider-aws-e2e |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Support setting EKS AuthenticationMode
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Addresses part of #4854
Special notes for your reviewer:
Checklist:
Release note: