-
Story
-
Resolution: Unresolved
-
Major
-
None
Value Statement
Allow ACM/MCE consoles to continue to function properly when a user renames the hub cluster to something other thanĀ local-cluster
Definition of Done for Engineering Story Owner (Checklist)
Remove all the following hard-coded references to local-cluster. The hub cluster can be identified as the ManagedCluster with the label local-cluster: "true".
- https://github.com/stolostron/console/blob/77cf5609eeaaa4bb9c2ea3833c3370e02f2fb75d/backend/src/routes/aggregators/applications.ts#L363 (5 references in this file)
- https://github.com/stolostron/console/blob/77cf5609eeaaa4bb9c2ea3833c3370e02f2fb75d/backend/src/routes/aggregators/applicationsArgo.ts#L26 (2 references in this file)
- https://github.com/stolostron/console/blob/77cf5609eeaaa4bb9c2ea3833c3370e02f2fb75d/backend/src/routes/aggregators/applicationsOCP.ts#L160 (2 references in this file)
The backend should be responsive to a change in name of the local-cluster without requiring a restart of the pod.
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.