Skip to content

Commit

Permalink
Merge pull request #1678 from richardchen331/explicitly_set_enablerba…
Browse files Browse the repository at this point in the history
…c_to_true

Explicitly set EnableRBAC to true in AzureManagedControlPlaneSpec
  • Loading branch information
k8s-ci-robot authored Sep 10, 2021
2 parents 38907d0 + 2f9a30a commit 14cf703
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azure/services/managedclusters/managedclusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func (s *Service) Reconcile(ctx context.Context) error {
Tags: *to.StringMapPtr(managedClusterSpec.Tags),
ManagedClusterProperties: &containerservice.ManagedClusterProperties{
NodeResourceGroup: &managedClusterSpec.NodeResourceGroupName,
EnableRBAC: to.BoolPtr(true),
DNSPrefix: &managedClusterSpec.Name,
KubernetesVersion: &managedClusterSpec.Version,
LinuxProfile: &containerservice.LinuxProfile{
Expand Down

0 comments on commit 14cf703

Please sign in to comment.