53bc80bb59
* remove svc-default-backend * update ingress-nginx clusterrole
27 lines
772 B
Django/Jinja
27 lines
772 B
Django/Jinja
---
|
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: ingress-nginx
|
|
labels:
|
|
app.kubernetes.io/name: ingress-nginx
|
|
app.kubernetes.io/part-of: ingress-nginx
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["configmaps", "endpoints", "nodes", "pods", "secrets"]
|
|
verbs: ["list", "watch"]
|
|
- apiGroups: [""]
|
|
resources: ["nodes"]
|
|
verbs: ["get"]
|
|
- apiGroups: [""]
|
|
resources: ["services"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["extensions","networking.k8s.io"]
|
|
resources: ["ingresses"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: [""]
|
|
resources: ["events"]
|
|
verbs: ["create", "patch"]
|
|
- apiGroups: ["extensions","networking.k8s.io"]
|
|
resources: ["ingresses/status"]
|
|
verbs: ["update"]
|