Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions app-dev/devops-and-containers/oke/oke-policies/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,13 @@ ALLOW any-user to use virtual-network-family in TENANCY where request.principal.

```
ALLOW any-user to read instance-images in TENANCY where request.principal.type = 'cluster'
```

### Allow OKE to create a LB/NLB on a different compartment

[https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringloadbalancersnetworkloadbalancers-subtopic.htm#contengcreatingloadbalancer_topic_Specifying_compartment](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringloadbalancersnetworkloadbalancers-subtopic.htm#contengcreatingloadbalancer_topic_Specifying_compartment)

```
Allow any-user to manage load-balancers in compartment id <compartment-ocid> where all { request.principal.type = 'cluster' }
Allow any-user to manage network-load-balancers in compartment id <compartment-ocid> where all { request.principal.type = 'cluster' }
```