Skip to content

Commit

Permalink
include get/lease permission
Browse files Browse the repository at this point in the history
  • Loading branch information
gambtho committed Aug 29, 2023
1 parent 060cb6e commit b86f38a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/manifests/fixtures/nginx/full.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
},
{
"verbs": [
"get",
"list",
"watch"
],
Expand Down
1 change: 1 addition & 0 deletions pkg/manifests/fixtures/nginx/internal.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
},
{
"verbs": [
"get",
"list",
"watch"
],
Expand Down
1 change: 1 addition & 0 deletions pkg/manifests/fixtures/nginx/kube-system.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
},
{
"verbs": [
"get",
"list",
"watch"
],
Expand Down
1 change: 1 addition & 0 deletions pkg/manifests/fixtures/nginx/no-ownership.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
},
{
"verbs": [
"get",
"list",
"watch"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
},
{
"verbs": [
"get",
"list",
"watch"
],
Expand Down
2 changes: 1 addition & 1 deletion pkg/manifests/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func newNginxIngressControllerClusterRole(conf *config.Config, ingressConfig *Ng
{
APIGroups: []string{"coordination.k8s.io"},
Resources: []string{"leases"},
Verbs: []string{"list", "watch"},
Verbs: []string{"get", "list", "watch"},
},
{
APIGroups: []string{""},
Expand Down

0 comments on commit b86f38a

Please sign in to comment.