mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-07 03:21:42 +01:00
add cluster role to list and watch ingresses in api group "networking.k8s.io"
This commit is contained in:
parent
003daae495
commit
d1f401a73d
@ -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:
|
|||||||
- 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:
|
|||||||
- 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:
|
|||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- networking.k8s.io
|
||||||
|
resources:
|
||||||
|
- ingresses
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
kind: RoleList
|
kind: RoleList
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user