-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
ACM 2.12.2
-
None
-
False
-
-
False
-
-
-
-
Low
-
None
Description of problem:
If the applied mch CR does not contain all of the components (eg leaving out siteconfig entry), then the multiclusterhub-operator is adding an empty configOverrides map to all component in the spec.overrides.components of the MultiClusterHub CR. When the MCH is being managed by an argocd application (gitops env) this causes the MCH CR to always show as "out of sync":
This is the section of the CR in git:
spec: availabilityConfig: High enableClusterBackup: false ingress: {} overrides: components: - enabled: true name: app-lifecycle - enabled: true name: cluster-lifecycle - enabled: true
This is what is seen on the cluster:
spec: availabilityConfig: High enableClusterBackup: false ingress: {} overrides: components: - configOverrides: {} enabled: true name: app-lifecycle - configOverrides: {} enabled: true name: cluster-lifecycle
The --show-managed-fields shows updates to spec.overrides by argocd and the multiclusterhub-operator with continually updating timestamps.
Version-Release number of selected component (if applicable):
ACM 2.12.2, MCE 2.7.3
How reproducible:
Steps to Reproduce:
- ...