From 0fea8d8dd4ba287bb8de0afd22e2287f1a1e7819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Sun, 4 Nov 2018 10:35:42 +0100 Subject: [PATCH] Add deployment to give dashboard user full access --- kubernetes/dashboard-admin.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 kubernetes/dashboard-admin.yml diff --git a/kubernetes/dashboard-admin.yml b/kubernetes/dashboard-admin.yml new file mode 100644 index 00000000..5d76d390 --- /dev/null +++ b/kubernetes/dashboard-admin.yml @@ -0,0 +1,14 @@ +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRoleBinding +metadata: + name: kubernetes-dashboard + labels: + k8s-app: kubernetes-dashboard +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: +- kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system