Skip to content

Commit 0c43812

Browse files
Merge pull request #7865 from hawkowl/hawkowl/ARO-4744
ARO-4744: Do not run platform validation on ARO
2 parents 0b0271a + dc473dd commit 0c43812

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/asset/installconfig/installconfig.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ func (a *InstallConfig) platformValidation() error {
185185
return alibabacloud.Validate(client, a.Config)
186186
}
187187
if a.Config.Platform.Azure != nil {
188+
if a.Config.Platform.Azure.IsARO() {
189+
// ARO performs platform validation in the Resource Provider before
190+
// the Installer is called
191+
return nil
192+
}
188193
client, err := a.Azure.Client()
189194
if err != nil {
190195
return err

0 commit comments

Comments
 (0)