Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 890ed67

Browse files
authored
Fix RBAC to allow watching for AP UDS changes
1 parent 8e21f19 commit 890ed67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/controller/nginxingresscontroller/rbac.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func clusterRoleForNginxIngressController(name string) *rbacv1.ClusterRole {
6060
{
6161
Verbs: []string{"get", "list", "watch"},
6262
APIGroups: []string{"appprotect.f5.com"},
63-
Resources: []string{"aplogconfs", "appolicies"},
63+
Resources: []string{"aplogconfs", "appolicies", "apusersigs"},
6464
},
6565
}
6666
return &rbacv1.ClusterRole{

pkg/controller/nginxingresscontroller/rbac_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func TestClusterRoleForNginxIngressController(t *testing.T) {
6868
{
6969
Verbs: []string{"get", "list", "watch"},
7070
APIGroups: []string{"appprotect.f5.com"},
71-
Resources: []string{"aplogconfs", "appolicies"},
71+
Resources: []string{"aplogconfs", "appolicies", "apusersigs"},
7272
},
7373
},
7474
}

0 commit comments

Comments
 (0)