Merge pull request #459 from arthurlm44/patch-1

update first instructions for k8s with helm
This commit is contained in:
Jimmy Zelinskie 2017-08-31 16:55:18 -04:00 committed by GitHub
commit e4a58305f4

View File

@ -41,17 +41,19 @@ A [PostgreSQL 9.4+] database instance is required for all instructions.
### Cluster
#### Kubernetes
#### Kubernetes (Helm)
If you don't have a local Kubernetes cluster already, check out [minikube].
This assumes you've already ran `helm init` and you have access to a currently running instance of Tiller.
[minikube]: https://github.com/kubernetes/minikube
```
git clone https://github.com/coreos/clair
cd clair/contrib/k8s
kubectl create secret generic clairsecret --from-file=./config.yaml
kubectl create -f clair-kubernetes.yaml
cd clair/contrib/helm
cp values.yaml ~/my_custom_values.yaml
vi ~/my_custom_values.yaml
helm install clair -f ~/my_custom_values.yaml
```
### Local