add cluster role to list and watch ingresses in api group "networking.k8s.io"

This commit is contained in:
viperstars 2021-03-29 14:19:35 +08:00
parent 003daae495
commit d1f401a73d
2 changed files with 29 additions and 0 deletions

View File

@ -229,6 +229,11 @@ function(params) {
resources: ['ingresses'],
verbs: ['get', 'list', 'watch'],
},
{
apiGroups: ['networking.k8s.io'],
resources: ['ingresses'],
verbs: ['get', 'list', 'watch'],
},
],
};
{

View File

@ -29,6 +29,14 @@ items:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
@ -58,6 +66,14 @@ items:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
@ -87,4 +103,12 @@ items:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
kind: RoleList