Azure / ARO-RP

Azure Red Hat OpenShift RP

Home Page:https://azure.microsoft.com/products/openshift/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Granular Permission for Subnet for ARO SPNs during install

uday31in opened this issue · comments

Instead or checking for vNet scope for Network contributor role, support subnet level scope to allow fine grained permission for cluster install.

Microsoft.Network/virtualNetworks/subnets/*

Risk with vNet level permission is when multiple cluster operator share the same vNet, all of them needed to be a contributor and have higher privileges then what is necessary.

return get_network_resources(cli_ctx, worker_subnets | {master_subnet}, vnet)