From 9ebe6e46c01f6383064c761f5980304088faeee0 Mon Sep 17 00:00:00 2001 From: Tim Berry Date: Fri, 23 Aug 2019 12:15:41 +0100 Subject: [PATCH] Add Chapter 4 Lecture 2 files --- .../Lecture_2_Lab/tiller-serviceaccount.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Chapter_Four/Lecture_2_Lab/tiller-serviceaccount.yaml diff --git a/Chapter_Four/Lecture_2_Lab/tiller-serviceaccount.yaml b/Chapter_Four/Lecture_2_Lab/tiller-serviceaccount.yaml new file mode 100644 index 0000000..05d1846 --- /dev/null +++ b/Chapter_Four/Lecture_2_Lab/tiller-serviceaccount.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm + namespace: kube-system +--- +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRoleBinding +metadata: + name: helm +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: helm + namespace: kube-system