-
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: Add IRSA support for self-managed clusters (rebase) #5109
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 |
Hi @sl1pm4t. 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. |
/ok-to-test |
184576c
to
986add5
Compare
/test pull-cluster-api-provider-aws-e2e |
There is some investigation of the failing e2e test happening over here. |
986add5
to
d265b48
Compare
/retest-required |
d265b48
to
909a464
Compare
/test pull-cluster-api-provider-aws-e2e |
909a464
to
8d30f71
Compare
/retest |
Fix s3 tests
8d30f71
to
540420c
Compare
/test pull-cluster-api-provider-aws-e2e-eks |
@sl1pm4t: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds IRSA functionality to self-managed clusters. This will bring the self-managed clusters inline in functionality with Managed clusters that provide most of this functionality out of the box.
With this PR, the following new resources are created:
<cluster_name>/.well-known/openid-configuration
- OpenID Connect discovery document<cluster_name>/openid/v1/jwks
- Service Account signing public keyThis is a continuation of an old unmerged PR #4094 - with some fixes and some functionality removed to reduce the scope of the PR.
The functionality removed includes:
amazon-pod-identity-webhook addon
to the workload cluster. I felt there are already many ways to manage cluster addons, including ClusterResourceSets or CAAPH, and that it was unnecessary to install the addon via the controller which then becomes an ongoing maintenance burden. Instead, the requirement for the addon has been added to the documentation.service-account-issuer
argument through kubeadm patches. This is easily covered in the documentation and only requires a single line of config to be added to theAWSCluster
resource, but also during testing I experienced issues with this being applied inconsistently, resulting in different values across the control plane nodes.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #3560
Supersedes #4094
Special notes for your reviewer:
This PR adds a new ReconcileOIDCProvider to the AWSCluster reconciliation loop.
Checklist:
Release note: