Nice video as usual :)
Good one. Question - Instead of using the SPN. We can also enable System Managed Identities on DevOps Agent VM and add the object id in the AKS AAD group right ?
hi, i want to ask..
how can i use command az aks get-credential in pipeline?
if in my local, i can just use az login, and then i can use that command...
but in pipeline its imposible if we login through az login..
You use the Azure CLI task with a service connection that has access to K8S. Then you can use az aks get-credential, potentially with --admin. If you want to use the AAD credentials of the Azure CLI task, check this blogpost -> blog.baeke.info/2021/06/03/a-quick-look-at-azure-kubelogin/
Excellent video Geert, waiting for other videos on Authorization and Admission Control