-
Story
-
Resolution: Unresolved
-
Major
-
MCE 2.17.0
-
Product / Portfolio Work
-
False
-
-
False
-
-
Not Selected
-
-
-
Important
-
None
Value Statement
Amazon EKS does not provide a built-in signer for CSRs created with the kubernetes.io/kube-apiserver-client signer name. Although such CSRs can be created and even approved, no client certificate is issued for the approved requests. As a result, CSR-based authentication does not work and blocks add-on registration when MCE is deployed on an EKS hub cluster.
To address this limitation, token-based add-on registration was introduced in ACM 2.16 / MCE 2.11. It included API changes and some foundational enhancements (addon-manager, klusterlet agent and addon-framework).
However, updates are also required from individual add-on in order to fully support this feature in 2.17 release. These include:
- Upgrading the addon-framework to the latest version;
- Updating PermissionConfig to support permission binding to dynamic subjects
(Refer to the documentation for more details:
https://open-cluster-management.io/docs/developer-guides/addon/#token-based-authentication-alternative-to-csr)
How to verify
- Install MCE.
- Configure addOnKubeClientRegistrationDriver to use token as the authType:
apiVersion: config.open-cluster-management.io/v1alpha1 kind: KlusterletConfig metadata: name: global spec: addOnKubeClientRegistrationDriver: authType: token
- Verify that the add-on functions correctly.
Definition of Done for Engineering Story Owner (Checklist)
- ...
Development Complete
- The code is complete.
- Functionality is working.
- Any required downstream Docker file changes are made.
Tests Automated
- [ ] Unit/function tests have been automated and incorporated into the
build. - [ ] 100% automated unit/function test coverage for new or changed APIs.
Secure Design
- [ ] Security has been assessed and incorporated into your threat model.
Multidisciplinary Teams Readiness
- [ ] Create an informative documentation issue using the Customer
Portal Doc template that you can access from [The Playbook](
and ensure doc acceptance criteria is met.
- Call out this sentence as it's own action:
- [ ] Link the development issue to the doc issue.
Support Readiness
- [ ] The must-gather script has been updated.
- clones
-
ACM-29995 Update policy add-ons to support token-based registration
-
- New
-