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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user