2018-02-13 09:08:44 +08:00
|
|
|
---
|
2020-04-15 04:14:04 +08:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2018-02-13 09:08:44 +08:00
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
|
|
|
name: ingress-nginx
|
2018-09-02 12:19:38 +08:00
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: ingress-nginx
|
|
|
|
app.kubernetes.io/part-of: ingress-nginx
|
2018-02-13 09:08:44 +08:00
|
|
|
rules:
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["configmaps", "endpoints", "nodes", "pods", "secrets"]
|
|
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["nodes"]
|
|
|
|
verbs: ["get"]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["services"]
|
2021-01-27 00:22:34 +08:00
|
|
|
verbs: ["get", "list", "watch"]
|
2022-03-13 15:36:23 +08:00
|
|
|
- apiGroups: ["networking.k8s.io"]
|
|
|
|
resources: ["ingresses"]
|
2018-02-13 09:08:44 +08:00
|
|
|
verbs: ["get", "list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["events"]
|
|
|
|
verbs: ["create", "patch"]
|
2019-08-15 17:34:33 +08:00
|
|
|
- apiGroups: ["extensions","networking.k8s.io"]
|
2018-02-13 09:08:44 +08:00
|
|
|
resources: ["ingresses/status"]
|
|
|
|
verbs: ["update"]
|
2022-03-13 15:36:23 +08:00
|
|
|
- apiGroups: ["networking.k8s.io"]
|
2020-06-09 17:45:18 +08:00
|
|
|
resources: ["ingressclasses"]
|
|
|
|
verbs: ["get", "list", "watch"]
|
2022-07-15 09:46:25 +08:00
|
|
|
- apiGroups: ["coordination.k8s.io"]
|
|
|
|
resources: ["leases"]
|
|
|
|
verbs: ["list", "watch"]
|