70 lines
1.2 KiB
YAML
70 lines
1.2 KiB
YAML
|
---
|
||
|
kind: ClusterRole
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
name: traefik-ingress-controller
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- services
|
||
|
- endpoints
|
||
|
- secrets
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- extensions
|
||
|
- networking.k8s.io
|
||
|
resources:
|
||
|
- ingresses
|
||
|
- ingressclasses
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- extensions
|
||
|
resources:
|
||
|
- ingresses/status
|
||
|
verbs:
|
||
|
- update
|
||
|
- apiGroups:
|
||
|
- traefik.containo.us
|
||
|
resources:
|
||
|
- middlewares
|
||
|
- middlewaretcps
|
||
|
- ingressroutes
|
||
|
- traefikservices
|
||
|
- ingressroutetcps
|
||
|
- ingressrouteudps
|
||
|
- tlsoptions
|
||
|
- tlsstores
|
||
|
- serverstransports
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
|
||
|
---
|
||
|
kind: ServiceAccount
|
||
|
apiVersion: v1
|
||
|
metadata:
|
||
|
name: traefik-ingress-controller
|
||
|
namespace: traefik
|
||
|
|
||
|
---
|
||
|
kind: ClusterRoleBinding
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
name: traefik-ingress-controller
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: ClusterRole
|
||
|
name: traefik-ingress-controller
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: traefik-ingress-controller
|
||
|
namespace: traefik
|