Commit 9050057
committed
Add Azure permissions for Private Link Service operations
1. Microsoft.Network/privatelinkservices/write
- Code: pkg/provider/privatelinkservice/repo.go:93
- API: client.CreateOrUpdate(ctx, resourceGroup, *pls.Name, pls)
2. Microsoft.Network/privatelinkservices/read
- Code: Various PLS Get operations and cache management
3. Microsoft.Network/privatelinkservices/delete
- Code: pkg/provider/privatelinkservice/repo.go:109
- API: client.Delete(ctx, resourceGroup, plsName)
4. Microsoft.Network/virtualNetworks/subnets/write
- Code: pkg/provider/azure_privatelinkservice.go:232
- API: subnetRepo.CreateOrUpdate(ctx, rg, vnetName, subnetName, subnet)
- Purpose: Disable PrivateLinkServiceNetworkPolicies on subnet
5. Microsoft.Network/loadBalancers/loadBalancingRules/read
- Required for Azure internal validation when PLS references
LoadBalancerFrontendIPConfigurations
**Additional Join Permissions:**
When modifying subnets, Azure requires join permissions
for networking resources that may be associated with the subnet:
6. Microsoft.Network/serviceEndpointPolicies/join/action
7. Microsoft.Network/natGateways/join/action
8. Microsoft.Network/networkIntentPolicies/join/action
9. Microsoft.Network/networkSecurityGroups/join/action
10. Microsoft.Network/routeTables/join/action
11. Microsoft.Network/networkManagers/ipamPools/associateResourcesToPool/action
These are not direct API calls from cloud-provider code, but Azure ARM
requirements when subnet modifications might affect associated resources.1 parent 86f8c6d commit 9050057
1 file changed
Lines changed: 10 additions & 0 deletions
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
| 42 | + | |
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
| |||
0 commit comments