vmware-archive / kubewatch

Watch k8s events and trigger Handlers
Apache License 2.0
2.44k stars 442 forks source link

Helm install command doesn't work as provided in README #148

Open richstokes opened 6 years ago

richstokes commented 6 years ago

helm install kubewatch stable/kubewatch --set='rbac.create=true,slack.channel=#devops-k8s,slack.token=xoxb-31XXXXXXXXXXXXXXXXXXX,resourcesToWatch.pod=true,resourcesToWatch.daemonset=true'

Results in: Error: This command needs 1 argument: chart name

helm version                                                                                                                                          (master)
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
richstokes commented 6 years ago

This works if you change the provided line to:

helm install stable/kubewatch --set='rbac.create=true,slack.channel=#devops-k8s,slack.token=xoxb-31XXXXXXXXXXXXXXXXXXX,resourcesToWatch.pod=true,resourcesToWatch.daemonset=true'

oleksii-kalinin commented 6 years ago

You can also provide --name kubewatch

rjanovski commented 5 years ago

just use --set before each term:

helm install stable/kubewatch \
--set rbac.create=true \
--set slack.channel='#devops-k8s' \
--set slack.token=xoxb-31XXXXXXXXXXXXXXXXXXX \
--set resourcesToWatch.pod=true \
--set resourcesToWatch.daemonset=true

but please update the README guys