Skip to content

Commit 8d61488

Browse files
authored
Update policies.md
Added policies for FSS creation by OKE
1 parent 684a086 commit 8d61488

File tree

1 file changed

+19
-1
lines changed
  • app-dev/devops-and-containers/oke/oke-policies

1 file changed

+19
-1
lines changed

app-dev/devops-and-containers/oke/oke-policies/policies.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ ALLOW any-user to manage public-ips in TENANCY where ALL {request.principal.type
128128

129129

130130

131-
### ATTACH NSGs WHEN THEY ARE IN DIFFERENT COMPARTMENTS THAN OKE
131+
### ATTACH NSGs WHEN THEY ARE IN DIFFERENT COMPARTMENT THAN OKE
132132

133133
[https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringloadbalancersnetworkloadbalancers-subtopic.htm#contengcreatingloadbalancer\_topic\_Specifying\_Load\_Balancer\_Network\_Security\_Group](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringloadbalancersnetworkloadbalancers-subtopic.htm#contengcreatingloadbalancer_topic_Specifying_Load_Balancer_Network_Security_Group)
134134

@@ -144,3 +144,21 @@ Allow any-user to use network-security-groups in compartment <network-compartmen
144144
ALLOW any-user to manage volume-backups in compartment <compartment-name> where request.principal.type = 'cluster'
145145
ALLOW any-user to use volumes in compartment <compartment-name> where request.principal.type = 'cluster'
146146
```
147+
148+
### PROVISION A PVC ON A NEW FILE SYSTEM USING THE CSI VOLUME PLUGIN
149+
150+
[https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingpersistentvolumeclaim_Provisioning_PVCs_on_FSS.htm#contengcreatingpersistentvolumeclaim_topic-Provisioning_PVCs_on_FSS-Using-CSI-Volume-Plugin](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingpersistentvolumeclaim_Provisioning_PVCs_on_FSS.htm#contengcreatingpersistentvolumeclaim_topic-Provisioning_PVCs_on_FSS-Using-CSI-Volume-Plugin)
151+
152+
Cluster will need policies to create a new file system and to handle network resources:
153+
154+
```
155+
ALLOW any-user to manage file-family in compartment <oke-compartment-name> where request.principal.type = 'cluster'
156+
ALLOW any-user to use virtual-network-family in compartment <oke-compartment-name> where request.principal.type = 'cluster'
157+
```
158+
159+
If the compartment to which a node pool, worker node subnet, file system, or mount target belongs, is different to the compartment to which a cluster belongs, IAM policies must exist to enable the CSI volume plugin to access the appropriate location.
160+
161+
```
162+
ALLOW any-user to manage file-family in TENANCY where request.principal.type = 'cluster'
163+
ALLOW any-user to use virtual-network-family in TENANCY where request.principal.type = 'cluster'
164+
```

0 commit comments

Comments
 (0)