Skip to content

Docs: Clarification required regarding Disabling Local Accounts #5672

Open
@rbjorklin

Description

@rbjorklin

I've been trying to disable local accounts following this section in the documentation. However when doing this I'm met with:

k get ManagedCluster
NAME   READY   SEVERITY   REASON   MESSAGE
dev2   False   Warning    Failed   extension failed to produce resources for export: failed listing admin credentials: POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-dev-aks-westus3/providers/Microsoft.ContainerService/managedClusters/myCluster/listClusterAdminCredential...

This leads me to believe I also have to grant Azure Kubernetes Service Cluster Admin Role.

I have two questions:

  • Could you confirm the above is expected and just missing from the documentation as it stands?
  • Does the suggested credential ${CLUSTER_NAME}-user-kubeconfig have to be specified somewhere or does capz know to pick it up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions