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"]
|
2020-04-22 23:41:52 +08:00
|
|
|
verbs: ["get", "list", "update", "watch"]
|
2019-08-15 17:34:33 +08:00
|
|
|
- apiGroups: ["extensions","networking.k8s.io"]
|
2018-02-13 09:08:44 +08:00
|
|
|
resources: ["ingresses"]
|
|
|
|
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"]
|