Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ field is only valid in tests that provision a cluster (`openshift_ansible`,
- `aws`
- `aws-atomic`
- `aws-centos`
- `azure4`
- `gcp`
- `gcp-ha`
- `gcp-crio`
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func validateReleaseTagConfiguration(fieldRoot string, input ReleaseTagConfigura

func validateClusterProfile(fieldRoot string, p ClusterProfile) []error {
switch p {
case ClusterProfileAWS, ClusterProfileAWSAtomic, ClusterProfileAWSCentos, ClusterProfileAWSCentos40, ClusterProfileAWSGluster, ClusterProfileGCP, ClusterProfileGCP40, ClusterProfileGCPHA, ClusterProfileGCPCRIO, ClusterProfileGCPLogging, ClusterProfileGCPLoggingJournald, ClusterProfileGCPLoggingJSONFile, ClusterProfileGCPLoggingCRIO, ClusterProfileOpenStack, ClusterProfileVSphere:
case ClusterProfileAWS, ClusterProfileAWSAtomic, ClusterProfileAWSCentos, ClusterProfileAWSCentos40, ClusterProfileAWSGluster, ClusterProfileAzure4, ClusterProfileGCP, ClusterProfileGCP40, ClusterProfileGCPHA, ClusterProfileGCPCRIO, ClusterProfileGCPLogging, ClusterProfileGCPLoggingJournald, ClusterProfileGCPLoggingJSONFile, ClusterProfileGCPLoggingCRIO, ClusterProfileOpenStack, ClusterProfileVSphere:
return nil
}
return []error{fmt.Errorf("%q: invalid cluster profile %q", fieldRoot, p)}
Expand Down
1 change: 1 addition & 0 deletions pkg/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ const (
ClusterProfileAWSCentos = "aws-centos"
ClusterProfileAWSCentos40 = "aws-centos-40"
ClusterProfileAWSGluster = "aws-gluster"
ClusterProfileAzure4 = "azure4"
ClusterProfileGCP = "gcp"
ClusterProfileGCP40 = "gcp-40"
ClusterProfileGCPHA = "gcp-ha"
Expand Down