Skip to content

Commit 212482c

Browse files
dmlb2000k8s-infra-cherrypick-robot
authored andcommitted
Add ManualServicePrincipal to validation string
Hopefully, this is the right validation string to add for supporting ManualServicePrincipal as a valid Azure Cluster Identity type. Signed-off-by: David ML Brown Jr <[email protected]>
1 parent c170600 commit 212482c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/v1beta1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ const (
426426
)
427427

428428
// IdentityType represents different types of identities.
429-
// +kubebuilder:validation:Enum=ServicePrincipal;UserAssignedMSI
429+
// +kubebuilder:validation:Enum=ServicePrincipal;ManualServicePrincipal;UserAssignedMSI
430430
type IdentityType string
431431

432432
const (

config/crd/bases/infrastructure.cluster.x-k8s.io_azureclusteridentities.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ spec:
429429
description: UserAssignedMSI or Service Principal
430430
enum:
431431
- ServicePrincipal
432+
- ManualServicePrincipal
432433
- UserAssignedMSI
433434
type: string
434435
required:

0 commit comments

Comments
 (0)