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