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

Helm init was unable to create tiller-secret in TLS mode #3330

Closed
antoniaklja opened this issue Jan 10, 2018 · 3 comments
Closed

Helm init was unable to create tiller-secret in TLS mode #3330

antoniaklja opened this issue Jan 10, 2018 · 3 comments

Comments

@antoniaklja
Copy link

antoniaklja commented Jan 10, 2018

Looks like it's not possible to install Tiller with TLS support when tiller-deploy k8s service has been not removed.
Tiller Pod stays in ContainerCreating because of missing ConfigMap tiller-secret:

pod "673b8322-f5fc-11e7-bbe3-02de5ee8814e" (UID: "673b8322-f5fc-11e7-bbe3-02de5ee8814e") with: secrets "tiller-secret" not found

How reproduce issue:

  1. Create test namespace
  2. Generate Tiller TLS certificates
  3. Install Tiller with TLS support
helm init \
  --tiller-tls \
  --tiller-tls-cert tiller-server.pem \
  --tiller-tls-key tiller-server-key.pem \
  --tiller-tls-verify \
  --tls-ca-cert ca.pem \
   --tiller-namespace test \
   --debug
  1. Remove Tiller deployment and Secrets
kubectl -n test delete secrets tiller-secrets
kubectl -n test delete deployment tiller-deploy
  1. Try installing Tiller again

Helm version: v2.7.2

IMO the problem is related with unsuccessful k8s Service update (because Service update is not allowed here) and k8s Secrets are not created because are after the Service manifests.

After I removed Service everything works fine.

@antoniaklja antoniaklja changed the title Helm init was unable to create tiller-secret Helm init was unable to create tiller-secret in TLS mode Jan 10, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@bdowling
Copy link

bdowling commented May 12, 2018

Ran into this as well attempting to switch from a quick install of helm to enabling --tiller-tls, had to remove both the deployment and service..

v2.9.0

/remove-lifecycle rotten

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

No branches or pull requests

5 participants