Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify serviceaccount while deploying tiller with helm init #2325

Closed
spk83 opened this issue Apr 24, 2017 · 3 comments
Closed

Specify serviceaccount while deploying tiller with helm init #2325

spk83 opened this issue Apr 24, 2017 · 3 comments

Comments

@spk83
Copy link

spk83 commented Apr 24, 2017

helm init command by default, sets the spec.template.spec.serviceAccountName:"" in deployment config of tiller. So tiller would be deployed with default service account of namespace in which tiller is being installed. To run tiller with different service account, we have to take the output helm init --dry-run --debug and change the serviceAccountName field with the sa name that we want to run tiller with.

We encountered this while using helm with OpenShift, where default service account isn't privileged to run containers as root and we have a separate service account with those privileges. So we have to deploy tiller with non-default service account.

Do you guys think its a terrible idea to have a --serviceaccount switch that could override default behavior? Happy to raise PR if not. Please let me know.

Thanks! :)

@seh
Copy link
Contributor

seh commented Apr 26, 2017

Also pertinent: #2181 and #2224. The former shows a hack to work around the problem; the latter specifies a proper solution.

@spk83
Copy link
Author

spk83 commented Apr 26, 2017

Thanks @seh. I'll wait for 2.3.2 👍

@michelleN
Copy link
Member

I'm going to close this since it's a duplicate of #2224. Thank you @spk83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants