Skip to content

Commit

Permalink
include get/pod permission
Browse files Browse the repository at this point in the history
  • Loading branch information
gambtho committed Aug 29, 2023
1 parent e8a8b7b commit 060cb6e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion pkg/manifests/fixtures/nginx/full.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
""
],
"resources": [
"nodes"
"nodes",
"pods"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion pkg/manifests/fixtures/nginx/internal.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
""
],
"resources": [
"nodes"
"nodes",
"pods"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion pkg/manifests/fixtures/nginx/kube-system.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
""
],
"resources": [
"nodes"
"nodes",
"pods"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion pkg/manifests/fixtures/nginx/no-ownership.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
""
],
"resources": [
"nodes"
"nodes",
"pods"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion pkg/manifests/fixtures/nginx/optional-features-disabled.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
""
],
"resources": [
"nodes"
"nodes",
"pods"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/manifests/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func newNginxIngressControllerClusterRole(conf *config.Config, ingressConfig *Ng
},
{
APIGroups: []string{""},
Resources: []string{"nodes"},
Resources: []string{"nodes", "pods"},
Verbs: []string{"get"},
},
{
Expand Down

0 comments on commit 060cb6e

Please sign in to comment.