Skip to content
Snippets Groups Projects
Commit d1f401a7 authored by viperstars's avatar viperstars
Browse files

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

parent 003daae4
No related branches found
No related tags found
No related merge requests found
...@@ -229,6 +229,11 @@ function(params) { ...@@ -229,6 +229,11 @@ function(params) {
resources: ['ingresses'], resources: ['ingresses'],
verbs: ['get', 'list', 'watch'], verbs: ['get', 'list', 'watch'],
}, },
{
apiGroups: ['networking.k8s.io'],
resources: ['ingresses'],
verbs: ['get', 'list', 'watch'],
},
], ],
}; };
{ {
......
...@@ -29,6 +29,14 @@ items: ...@@ -29,6 +29,14 @@ items:
- get - get
- list - list
- watch - watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1 - apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
...@@ -58,6 +66,14 @@ items: ...@@ -58,6 +66,14 @@ items:
- get - get
- list - list
- watch - watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1 - apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
...@@ -87,4 +103,12 @@ items: ...@@ -87,4 +103,12 @@ items:
- get - get
- list - list
- watch - watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
kind: RoleList kind: RoleList
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment