diff --git a/pkg/api/config.go b/pkg/api/config.go index eaeddc03..9c2f883a 100644 --- a/pkg/api/config.go +++ b/pkg/api/config.go @@ -154,7 +154,7 @@ func validateReleaseTagConfiguration(fieldRoot string, input ReleaseTagConfigura func validateClusterProfile(fieldRoot string, p ClusterProfile) error { switch p { - case ClusterProfileAWS, ClusterProfileAWSAtomic, ClusterProfileAWSCentos, ClusterProfileAWSGluster, ClusterProfileGCP, ClusterProfileGCPHA, ClusterProfileGCPCRIO, ClusterProfileGCPLogging: + case ClusterProfileAWS, ClusterProfileAWSAtomic, ClusterProfileAWSCentos, ClusterProfileAWSGluster, ClusterProfileGCP, ClusterProfileGCPHA, ClusterProfileGCPCRIO, ClusterProfileGCPLogging, ClusterProfileOpenStack: return nil } return fmt.Errorf("%q: invalid cluster profile %q", fieldRoot, p) diff --git a/pkg/api/types.go b/pkg/api/types.go index 8a562bb4..a5f130af 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -313,6 +313,7 @@ const ( ClusterProfileGCPHA = "gcp-ha" ClusterProfileGCPCRIO = "gcp-crio" ClusterProfileGCPLogging = "gcp-logging" + ClusterProfileOpenStack ClusterProfile = "openstack" ) // ClusterTestConfiguration describes a test that provisions