This commit is contained in:
Edward Viaene
2018-07-30 15:50:51 +00:00
parent 4de625be28
commit a1602ad9f4
2 changed files with 33 additions and 0 deletions

15
helm/README.md Normal file
View File

@@ -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
```

18
helm/helm-rbac.yaml Normal file
View File

@@ -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