Skip to content

Commit

Permalink
🚨DO NOT PUSH TO PRODUCTION🚨 enable principal/identity mutability
Browse files Browse the repository at this point in the history
This commit flags both ServicePrincipalProfile and
PlatformWorkloadIdentityProfile as mutable in static validation so that
the ExcludePrincipals in the DenyAssignment for a cluster can be tested
and confirmed to support workload identities

This commit must be reverted after confirming this functionality in
canary
  • Loading branch information
yithian committed Jul 5, 2024
1 parent 6f8a4ac commit 7d067d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/api/v20240812preview/openshiftcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ type OpenShiftClusterProperties struct {
ConsoleProfile ConsoleProfile `json:"consoleProfile,omitempty"`

// The cluster service principal profile.
ServicePrincipalProfile *ServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"`
ServicePrincipalProfile *ServicePrincipalProfile `json:"servicePrincipalProfile,omitempty" mutable:"true"`

// The workload identity profile.
PlatformWorkloadIdentityProfile *PlatformWorkloadIdentityProfile `json:"platformWorkloadIdentityProfile,omitempty"`
PlatformWorkloadIdentityProfile *PlatformWorkloadIdentityProfile `json:"platformWorkloadIdentityProfile,omitempty" mutable:"true"`

// The cluster network profile.
NetworkProfile NetworkProfile `json:"networkProfile,omitempty"`
Expand Down

0 comments on commit 7d067d7

Please sign in to comment.