diff --git a/pkg/network/cloud_network.go b/pkg/network/cloud_network.go index 03f5fc1ee1..6c94af4252 100644 --- a/pkg/network/cloud_network.go +++ b/pkg/network/cloud_network.go @@ -83,7 +83,7 @@ func renderCloudNetworkConfigController(conf *operv1.NetworkSpec, bootstrapResul manifestDirs := make([]string, 0, 2) manifestDirs = append(manifestDirs, filepath.Join(manifestDir, "cloud-network-config-controller/common")) if hcpCfg := hypershift.NewHyperShiftConfig(); hcpCfg.Enabled { - data.Data["CLIImage"] = os.Getenv("CLI_IMAGE") + data.Data["CLIImage"] = os.Getenv("CLI_CONTROL_PLANE_IMAGE") data.Data["TokenMinterImage"] = os.Getenv("TOKEN_MINTER_IMAGE") data.Data["TokenAudience"] = os.Getenv("TOKEN_AUDIENCE") data.Data["ManagementClusterName"] = names.ManagementClusterName diff --git a/pkg/network/multus_admission_controller.go b/pkg/network/multus_admission_controller.go index 6ce7ee6a5f..e1fb2d3e73 100644 --- a/pkg/network/multus_admission_controller.go +++ b/pkg/network/multus_admission_controller.go @@ -87,7 +87,7 @@ func renderMultusAdmissonControllerConfig(manifestDir string, externalControlPla data.Data["AdmissionControllerNamespace"] = hsc.Namespace data.Data["KubernetesServiceHost"] = bootstrapResult.Infra.APIServers[bootstrap.APIServerDefaultLocal].Host data.Data["KubernetesServicePort"] = bootstrapResult.Infra.APIServers[bootstrap.APIServerDefaultLocal].Port - data.Data["CLIImage"] = os.Getenv("CLI_IMAGE") + data.Data["CLIImage"] = os.Getenv("CLI_CONTROL_PLANE_IMAGE") data.Data["TokenMinterImage"] = os.Getenv("TOKEN_MINTER_IMAGE") data.Data["TokenAudience"] = os.Getenv("TOKEN_AUDIENCE") data.Data["RunAsUser"] = hsc.RunAsUser diff --git a/pkg/network/node_identity.go b/pkg/network/node_identity.go index cc43aae3d1..344a0cd012 100644 --- a/pkg/network/node_identity.go +++ b/pkg/network/node_identity.go @@ -93,7 +93,7 @@ func renderNetworkNodeIdentity(conf *operv1.NetworkSpec, bootstrapResult *bootst data.Data["NetworkNodeIdentityReplicas"] = 3 } data.Data["ReleaseImage"] = hcpCfg.ReleaseImage - data.Data["CLIImage"] = os.Getenv("CLI_IMAGE") + data.Data["CLIImage"] = os.Getenv("CLI_CONTROL_PLANE_IMAGE") data.Data["TokenMinterImage"] = os.Getenv("TOKEN_MINTER_IMAGE") data.Data["TokenAudience"] = os.Getenv("TOKEN_AUDIENCE") data.Data["HCPNodeSelector"] = bootstrapResult.Infra.HostedControlPlane.NodeSelector