-
Story
-
Resolution: Unresolved
-
Normal
-
ACM 2.13.0
-
5
-
False
-
None
-
False
-
-
ACM-1290 - [RFE] Be able to rename local-cluster
-
-
-
Workload Mgmt Train 21 - 1, Workload Mgmt Train 21 - 2
-
None
Value Statement
local-cluster can be renamed by customers so in the App UI code we cannot assume it will always have the name local-cluster.
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.
How to test renaming local-cluster scenario
1. start mce with this CR to disable local clsuter
apiVersion: multicluster.openshift.io/v1
kind: MultiClusterEngine
metadata:
name: multiclusterengine
spec:
availabilityConfig: High
imagePullSecret: open-cluster-management-image-pull-credentials
overrides:
components:
- enabled: false
name: local-cluster
targetNamespace: multicluster-engine
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/infra
operator: Exists
2. when mce is started, create managed cluster with "local-cluster=true" label
apiVersion: cluster.open-cluster-management.io/v1
kind: ManagedCluster
metadata:
name: test-cluster
labels:
local-cluster: "true"
spec:
hubAcceptsClient: true
3. Deploy an application, App UI should work properly.
- is blocked by
-
ACM-13281 Remove hard-coded local-cluster from Search component
- New