mathieu-benoit / myakscluster

How to setup a secure Kubernetes cluster on Azure
http://alwaysupalwayson.com/private-aks-and-acr/
11 stars 10 forks source link

Azure Lock #21

Closed mathieu-benoit closed 5 years ago

mathieu-benoit commented 5 years ago

https://docs.microsoft.com/fr-ca/cli/azure/group/lock?view=azure-cli-latest#az-group-lock-create

az group lock create --lock-type CanNotDelete -n CanNotDelete -g $(rg)

mathieu-benoit commented 5 years ago

ERROR: The client 'xxx' with object id 'xxxx' does not have authorization to perform action 'Microsoft.Authorization/locks/write' over scope '/subscriptions/xxxx/resourceGroups/mabenoittest/providers/Microsoft.Authorization/locks/CanNotDelete'.

mathieu-benoit commented 5 years ago

SP's role should be Owner, resolved