diff --git a/helm/README.md b/helm/README.md new file mode 100644 index 0000000..d0f7227 --- /dev/null +++ b/helm/README.md @@ -0,0 +1,15 @@ +# Helm + +## Install helm +``` +wget https://storage.googleapis.com/kubernetes-helm/helm-v2.9.1-linux-amd64.tar.gz +tar -xzvf helm-v2.9.1-linux-amd64.tar.gz +sudo mv linux-amd64/helm /usr/local/bin/helm +``` + +## Initialize helm + +``` +kubect create -f helm-rbac.yaml +helm init --service-account tiller +``` diff --git a/helm/helm-rbac.yaml b/helm/helm-rbac.yaml new file mode 100644 index 0000000..c5ae63a --- /dev/null +++ b/helm/helm-rbac.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: tiller + namespace: kube-system +--- +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRoleBinding +metadata: + name: tiller +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: tiller + namespace: kube-system