We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2867ae commit 5551f1fCopy full SHA for 5551f1f
deployment/charts/cluster-connect-gateway/files/openpolicyagent/policy.rego
@@ -12,3 +12,11 @@ allow if {
12
role := sprintf("%s_cl-rw", [input.project_id])
13
14
have_role if role == input.realm_access.roles[_]
15
+
16
+allow if service_group_access
17
18
+service_group_access if {
19
+ "apps-m2m-service-account" in input.groups
20
+ "clusters-read-role" in input.realm_access.roles
21
+ input.preferred_username == "service-account-co-manager-m2m-client"
22
+}
0 commit comments