Skip to content

Commit c6dc773

Browse files
authored
Merge pull request #3158 from oracle-devrel/oke-policies
oke policies update - fixes
2 parents 0f55387 + 64493e2 commit c6dc773

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

  • app-dev/devops-and-containers/oke/oke-policies

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ To encrypt OKE worker nodes boot volume with a key that is in a different compar
4747
[https://docs.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengpolicyconfig.htm#contengpolicyconfig\_topic\_Create\_Policies\_for\_User\_Managed\_Encryption](https://docs.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengpolicyconfig.htm#contengpolicyconfig_topic_Create_Policies_for_User_Managed_Encryption)
4848

4949
```
50-
Allow any-user to use key-delegates in <compartment-key> where ALL {request.principal.type='nodepool', target.key.id = '<key_OCID>'}
50+
Allow any-user to use key-delegate in <compartment-key> where ALL {request.principal.type='nodepool', target.key.id = '<key_OCID>'}
5151
Allow service blockstorage to use keys in compartment <compartment-key> where target.key.id = '<key_OCID>'
52-
Allow any-user to use key-delegates in compartment <compartment-key> where ALL {request.principal.type='nodepool', target.key.id = '<key_OCID>'}
52+
Allow any-user to use key-delegate in compartment <compartment-key> where ALL {request.principal.type='nodepool', target.key.id = '<key_OCID>'}
5353
```
5454

5555

@@ -62,7 +62,7 @@ To enable encryption on block volumes with a key in a different compartment than
6262

6363
```
6464
Allow service blockstorage to use keys in compartment <compartment-key> where target.key.id = '<key-ocid>'
65-
Allow any-user to use key-delegates in compartment <compartment-key> where ALL {request.principal.type = 'cluster', target.key.id = '<key-ocid>'}
65+
Allow any-user to use key-delegate in compartment <compartment-key> where ALL {request.principal.type = 'cluster', target.key.id = '<key-ocid>'}
6666
```
6767

6868

@@ -78,7 +78,7 @@ Dynamic Group
7878
ALL { resource.type='filesystem', resource.compartment.id = '<file_system_compartment_OCID>' }
7979
8080
Allow dynamic-group <domain>/<dynamic-group-name> to use keys in compartment <key-compartment-name>
81-
Allow any-user to use key-delegates in compartment <compartment-key> where ALL {request.principal.type = 'cluster', target.key.id = '<key_OCID>'}
81+
Allow any-user to use key-delegate in compartment <compartment-key> where ALL {request.principal.type = 'cluster', target.key.id = '<key_OCID>'}
8282
```
8383

8484

@@ -90,7 +90,6 @@ Allow any-user to use key-delegates in compartment <compartment-key> where ALL {
9090
```
9191
ALLOW any-user to manage network-security-groups in compartment <compartment-name> where request.principal.type = 'cluster'
9292
ALLOW any-user to manage vcns in compartment <compartment-name> where request.principal.type = 'cluster'
93-
ALLOW any-user to manage virtual-network-family in compartment <compartment-name> where request.principal.type = 'cluster'
9493
```
9594

9695

@@ -100,7 +99,7 @@ ALLOW any-user to manage virtual-network-family in compartment <compartment-name
10099
[https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengtaggingclusterresources\_iam-tag-namespace-policy.htm#contengtaggingclusterresources\_iam-tag-namespace-policy](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengtaggingclusterresources_iam-tag-namespace-policy.htm#contengtaggingclusterresources_iam-tag-namespace-policy)
101100

102101
```
103-
Allow any-user to use tag-namespace in compartment <compartment-ocid-tag-namespace> where all { request.principal.id = '<cluster-ocid>' }
102+
Allow any-user to use tag-namespaces in compartment <compartment-ocid-tag-namespace> where all { request.principal.id = '<cluster-ocid>' }
104103
```
105104

106105

0 commit comments

Comments
 (0)