-
Bug
-
Resolution: Done
-
Critical
-
None
-
ACM 2.11.0
-
None
-
False
-
-
False
-
-
-
-
-
No
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
- downstream upgrade from v2.10.3 to v2.11.0-98. (klusterlet in hosted mode, addon in default mode)
- check the search cma, find the cma.spec.supportedConfigs defined in 2.10 is removed after upgrading to 2.11.
Actual results:
2.10
apiVersion: addon.open-cluster-management.io/v1alpha1
kind: ClusterManagementAddOn
metadata:
annotations:
installer.open-cluster-management.io/release-version: 2.10.3
creationTimestamp: "2024-06-03T04:15:51Z"
generation: 2
labels:
installer.name: multiclusterhub
installer.namespace: open-cluster-management
managedFields:
- apiVersion: addon.open-cluster-management.io/v1alpha1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:installer.open-cluster-management.io/release-version: {}
f:labels:
f:installer.name: {}
f:installer.namespace: {}
f:spec:
f:addOnConfiguration: {}
f:addOnMeta:
f:description: {}
f:displayName: {}
f:installStrategy:
f:type: {}
manager: multiclusterhub-operator
operation: Apply
time: "2024-06-03T04:15:51Z"
- apiVersion: addon.open-cluster-management.io/v1alpha1
fieldsType: FieldsV1
fieldsV1:
f:status: {}
manager: addon
operation: Update
subresource: status
time: "2024-06-03T06:26:42Z"
- apiVersion: addon.open-cluster-management.io/v1alpha1
fieldsType: FieldsV1
fieldsV1:
f:spec:
f:supportedConfigs:
.: {}
k:{"group":"addon.open-cluster-management.io","resource":"addondeploymentconfigs"}:
.: {}
f:defaultConfig:
.: {}
f:name: {}
f:namespace: {}
f:group: {}
f:resource: {}
manager: kubectl-edit
operation: Update
time: "2024-06-03T06:26:42Z"
- apiVersion: addon.open-cluster-management.io/v1alpha1
fieldsType: FieldsV1
fieldsV1:
f:status:
f:defaultconfigReferences: {}
manager: manager
operation: Update
subresource: status
time: "2024-06-03T06:26:42Z"
name: search-collector
resourceVersion: "2457242"
uid: 932244bb-3b21-4709-8fb7-74877ef53603
spec:
addOnConfiguration: {}
addOnMeta:
description: Collects cluster data to be indexed by search components on the hub cluster.
displayName: Search Collector
installStrategy:
type: Manual
supportedConfigs:
- defaultConfig:
name: addon-hosted-config
namespace: multicluster-engine
group: addon.open-cluster-management.io
resource: addondeploymentconfigs
status:
defaultconfigReferences:
- desiredConfig:
name: addon-hosted-config
namespace: multicluster-engine
specHash: 9f655aed3fa67694f7dbe3d0050fc173eb92d20f343846b5b50aa3417a57b3eb
group: addon.open-cluster-management.io
resource: addondeploymentconfigs
2.11
- apiVersion: addon.open-cluster-management.io/v1alpha1
kind: ClusterManagementAddOn
metadata:
annotations:
addon.open-cluster-management.io/lifecycle: addon-manager
installer.open-cluster-management.io/release-version: 2.11.0-98
creationTimestamp: "2024-06-03T06:51:08Z"
generation: 1
labels:
installer.name: multiclusterhub
installer.namespace: open-cluster-management
managedFields:
- apiVersion: addon.open-cluster-management.io/v1alpha1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:installer.open-cluster-management.io/release-version: {}
f:labels:
f:installer.name: {}
f:installer.namespace: {}
f:spec:
f:addOnConfiguration: {}
f:addOnMeta:
f:description: {}
f:displayName: {}
f:installStrategy:
f:type: {}
manager: multiclusterhub-operator
operation: Apply
time: "2024-06-03T06:51:08Z"
- apiVersion: addon.open-cluster-management.io/v1alpha1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:addon.open-cluster-management.io/lifecycle: {}
manager: addon
operation: Update
time: "2024-06-03T06:51:08Z"
name: search-collector
resourceVersion: "2479602"
uid: 455a945f-31e1-49eb-abca-e1a274b3f9d8
spec:
addOnConfiguration: {}
addOnMeta:
description: Collects cluster data to be indexed by search components on the hub cluster.
displayName: Search Collector
installStrategy:
type: ManualExpected results:
Additional info: