File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
pkg/asset/installconfig/openstack Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 11package openstack
22
33import (
4+ "os"
5+
46 "k8s.io/apimachinery/pkg/util/validation/field"
57
68 "github.com/openshift/installer/pkg/asset/installconfig/openstack/validation"
79 "github.com/openshift/installer/pkg/types"
10+ "github.com/sirupsen/logrus"
811)
912
1013// Validate validates the given installconfig for OpenStack platform
1114func Validate (ic * types.InstallConfig ) error {
15+ if skip := os .Getenv ("OPENSHFIT_INSTALL_SKIP_PREFLIGHT_VALIDATIONS" ); skip == "1" {
16+ logrus .Warnf ("OVERRIDE: pre-flight validation disabled." )
17+ return nil
18+ }
19+
1220 ci , err := validation .GetCloudInfo (ic )
1321 if err != nil {
1422 return err
You can’t perform that action at this time.
0 commit comments