kubernetes-handbook/manifests/traefik-ingress/ingress-rbac.yaml

21 lines
359 B
YAML
Raw Normal View History

2017-04-20 22:21:38 +08:00
apiVersion: v1
kind: ServiceAccount
metadata:
name: ingress
namespace: kube-system
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: ingress
subjects:
- kind: ServiceAccount
name: ingress
namespace: kube-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io