From 116dbeffafce883e9de6b16f8bdda4a068803e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C8=9Aoncu?= Date: Thu, 18 Apr 2019 14:16:43 +0300 Subject: [PATCH] Add yaml template for creating the Service Account for Helm --- k8s/helm/helm-rbac.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 k8s/helm/helm-rbac.yaml diff --git a/k8s/helm/helm-rbac.yaml b/k8s/helm/helm-rbac.yaml new file mode 100644 index 000000000..1fcf47dca --- /dev/null +++ b/k8s/helm/helm-rbac.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: tiller + namespace: kube-system +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: tiller +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: tiller + namespace: kube-system