Skip to content

Commit 1fff4e0

Browse files
CecileRobertMichonk8s-infra-cherrypick-robot
authored andcommitted
Make identityRef required on AzureManagedControlPlane
1 parent 203a5b8 commit 1fff4e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/v1beta1/azuremanagedcontrolplane_types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ type AzureManagedControlPlaneSpec struct {
160160
LoadBalancerSKU *string `json:"loadBalancerSKU,omitempty"`
161161

162162
// IdentityRef is a reference to a AzureClusterIdentity to be used when reconciling this cluster
163-
// +optional
164-
IdentityRef *corev1.ObjectReference `json:"identityRef,omitempty"`
163+
IdentityRef *corev1.ObjectReference `json:"identityRef"`
165164

166165
// AadProfile is Azure Active Directory configuration to integrate with AKS for aad authentication.
167166
// +optional

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ spec:
568568
- name
569569
type: object
570570
required:
571+
- identityRef
571572
- location
572573
- resourceGroupName
573574
- version

0 commit comments

Comments
 (0)