-
Bug
-
Resolution: Unresolved
-
Minor
-
ACM 2.12.0
-
None
Description of the problem:
When performing an IBIO installation, clusterdeployments are created with the agentBareMetal platform type. This is a bit confusing as there is no agent involved in the IBI flow. We should decide how to make this clearer or find a way to describe both agent-based and image-based hive platforms.
const ClusterDeployment = `apiVersion: hive.openshift.io/v1 kind: ClusterDeployment metadata: name: "{{ .Spec.ClusterName }}" namespace: "{{ .Spec.ClusterName }}" annotations: siteconfig.open-cluster-management.io/sync-wave: "1" spec: baseDomain: "{{ .Spec.BaseDomain }}" clusterInstallRef: group: extensions.hive.openshift.io kind: ImageClusterInstall name: "{{ .Spec.ClusterName }}" version: v1alpha1 clusterName: "{{ .Spec.ClusterName }}" platform: agentBareMetal: agentSelector: matchLabels: cluster-name: "{{ .Spec.ClusterName }}" pullSecretRef: name: "{{ .Spec.PullSecretRef.Name }}"`