Skip to content

Commit 014bb47

Browse files
committed
chore: updated readme
1 parent 20963e2 commit 014bb47

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@ resource "argocd_project" "myproject" {
100100
orphaned_resources = {
101101
warn = true
102102
}
103+
role {
104+
name = "testrole"
105+
policies = [
106+
"p, proj:%s:testrole, applications, override, %s/*, allow",
107+
"p, proj:%s:testrole, applications, sync, %s/*, allow",
108+
]
109+
}
110+
role {
111+
name = "anotherrole"
112+
policies = [
113+
"p, proj:%s:testrole, applications, get, %s/*, allow",
114+
"p, proj:%s:testrole, applications, sync, %s/*, deny",
115+
]
116+
}
103117
sync_window {
104118
kind = "allow"
105119
applications = ["api-*"]

0 commit comments

Comments
 (0)