Skip to content

Commit

Permalink
add cluster profile for konflux workspaces
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Sadler <ansadler@redhat.com>
  • Loading branch information
sadlerap committed Apr 2, 2024
1 parent a5ae1e7 commit 18b957a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,7 @@ const (
ClusterProfileAWSEdgeInfra ClusterProfile = "aws-edge-infra"
ClusterProfileRHOpenShiftEcosystem ClusterProfile = "rh-openshift-ecosystem"
ClusterProfileODFAWS ClusterProfile = "odf-aws"
ClusterProfileKonfluxWorkspacesAWS ClusterProfile = "konfluxworkspaces-aws"
)

// ClusterProfiles are all valid cluster profiles
Expand Down Expand Up @@ -1458,6 +1459,7 @@ func ClusterProfiles() []ClusterProfile {
ClusterProfileAWSEdgeInfra,
ClusterProfileRHOpenShiftEcosystem,
ClusterProfileODFAWS,
ClusterProfileKonfluxWorkspacesAWS,
}
}

Expand Down Expand Up @@ -1510,7 +1512,8 @@ func (p ClusterProfile) ClusterType() string {
ClusterProfileDevSandboxCIAWS,
ClusterProfileQuayAWS,
ClusterProfileAWSEdgeInfra,
ClusterProfileODFAWS:
ClusterProfileODFAWS,
ClusterProfileKonfluxWorkspacesAWS:
return string(CloudAWS)
case
ClusterProfileAlibabaCloud,
Expand Down Expand Up @@ -1900,6 +1903,8 @@ func (p ClusterProfile) LeaseType() string {
return "rh-openshift-ecosystem-quota-slice"
case ClusterProfileODFAWS:
return "odf-aws-quota-slice"
case ClusterProfileKonfluxWorkspacesAWS:
return "konfluxworkspaces-aws-quota-slice"
default:
return ""
}
Expand Down

0 comments on commit 18b957a

Please sign in to comment.