Give the cluster perms to create load balancers.
In order for the cluster app registration to create new load balancers, it needs to have the Network Contributor role for the virtual network. In the future, we should create a custom policy scoped to exactly the permissions the cluster needs, per: https://docs.microsoft.com/en-us/azure/aks/configure-azure-cni#prerequisites
This commit is contained in:
@@ -23,6 +23,7 @@ module "k8s" {
|
||||
client_id = data.azurerm_key_vault_secret.k8s_client_id.value
|
||||
client_secret = data.azurerm_key_vault_secret.k8s_client_secret.value
|
||||
workspace_id = module.logs.workspace_id
|
||||
vnet_id = module.vpc.id
|
||||
}
|
||||
|
||||
#module "main_lb" {
|
||||
|
Reference in New Issue
Block a user