Octopus AKS Target Service Message Admin flag


We recently enabled Azure AD integration on our AKS cluster. We also use service messages to register our AKS targets as part of the ARM deployment via the Octopus’ PowerShell commands. The Kubernetes documentation states that we should check the admin flag on the target which does work when done manually. However when looking at the PowerShell commands I can seem to find that argument?


So I ran get-command on this and it looks like there is a switch that isn’t documented: -clusterAdminLogin