Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Commit f0edfd7

Browse files
committed
*: add azure4 as a known cluster profile
1 parent 40e8720 commit f0edfd7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CONFIGURATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ field is only valid in tests that provision a cluster (`openshift_ansible`,
373373
- `aws`
374374
- `aws-atomic`
375375
- `aws-centos`
376+
- `azure4`
376377
- `gcp`
377378
- `gcp-ha`
378379
- `gcp-crio`

pkg/api/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func validateReleaseTagConfiguration(fieldRoot string, input ReleaseTagConfigura
180180

181181
func validateClusterProfile(fieldRoot string, p ClusterProfile) []error {
182182
switch p {
183-
case ClusterProfileAWS, ClusterProfileAWSAtomic, ClusterProfileAWSCentos, ClusterProfileAWSCentos40, ClusterProfileAWSGluster, ClusterProfileGCP, ClusterProfileGCP40, ClusterProfileGCPHA, ClusterProfileGCPCRIO, ClusterProfileGCPLogging, ClusterProfileGCPLoggingJournald, ClusterProfileGCPLoggingJSONFile, ClusterProfileGCPLoggingCRIO, ClusterProfileOpenStack, ClusterProfileVSphere:
183+
case ClusterProfileAWS, ClusterProfileAWSAtomic, ClusterProfileAWSCentos, ClusterProfileAWSCentos40, ClusterProfileAWSGluster, ClusterProfileAzure4, ClusterProfileGCP, ClusterProfileGCP40, ClusterProfileGCPHA, ClusterProfileGCPCRIO, ClusterProfileGCPLogging, ClusterProfileGCPLoggingJournald, ClusterProfileGCPLoggingJSONFile, ClusterProfileGCPLoggingCRIO, ClusterProfileOpenStack, ClusterProfileVSphere:
184184
return nil
185185
}
186186
return []error{fmt.Errorf("%q: invalid cluster profile %q", fieldRoot, p)}

pkg/api/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ const (
346346
ClusterProfileAWSCentos = "aws-centos"
347347
ClusterProfileAWSCentos40 = "aws-centos-40"
348348
ClusterProfileAWSGluster = "aws-gluster"
349+
ClusterProfileAzure4 = "azure4"
349350
ClusterProfileGCP = "gcp"
350351
ClusterProfileGCP40 = "gcp-40"
351352
ClusterProfileGCPHA = "gcp-ha"

0 commit comments

Comments
 (0)