1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

Merge pull request #9626 from openshift-cherrypick-robot/cherry-pick-9490-to-release-4.18

[release-4.18] OCPBUGS-53142: PowerVS: COS eu-es hack
This commit is contained in:
openshift-merge-bot[bot]
2025-05-17 22:33:38 +00:00
committed by GitHub

View File

@@ -212,6 +212,11 @@ func GenerateClusterAssets(installConfig *installconfig.InstallConfig, clusterID
File: asset.File{Filename: "02_powervs-cluster.yaml"},
})
if vpcRegion != cosRegion {
logrus.Debugf("GenerateClusterAssets: vpcRegion(%s) is different than cosRegion(%s), cosRegion. Overriding bucket name", vpcRegion, cosRegion)
bucket = fmt.Sprintf("rhcos-powervs-images-%s", cosRegion)
}
powerVSImage = &capibm.IBMPowerVSImage{
TypeMeta: metav1.TypeMeta{
APIVersion: capibm.GroupVersion.String(),