Skip to content

Commit dc473dd

Browse files
committed
Do not run platform validation on ARO
This validation is performed in the ARO Resource Provider, before the Installer is called.
1 parent 9c1a6b7 commit dc473dd

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)