Skip to content

Commit 4f6296b

Browse files
authored
feat: allow notes to be attached to project and organization resources (#507)
This PR updates the IAM system to allow notes to be created in projects and organizations.
2 parents 43e28be + 39bd68a commit 4f6296b

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

config/protected-resources/notes/clusternote.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ spec:
1616
- delete
1717
- patch
1818
- watch
19+
parentResources:
20+
- apiGroup: resourcemanager.miloapis.com
21+
kind: Organization
22+
- apiGroup: resourcemanager.miloapis.com
23+
kind: Project

config/protected-resources/notes/note.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ spec:
1616
- delete
1717
- patch
1818
- watch
19+
parentResources:
20+
- apiGroup: resourcemanager.miloapis.com
21+
kind: Organization
22+
- apiGroup: resourcemanager.miloapis.com
23+
kind: Project

0 commit comments

Comments
 (0)