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

Add helm-tiller addon #5363

Merged
merged 2 commits into from
Sep 24, 2019
Merged

Conversation

woodcockjosh
Copy link
Contributor

This addon will add the tiller resources to the cluster so that helm init doesn't have to be ran every time a new minikube instance is created. This plugin is only necessary while helm is using tiller.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 16, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @woodcockjosh. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 16, 2019
@woodcockjosh
Copy link
Contributor Author

#5302

@woodcockjosh woodcockjosh mentioned this pull request Sep 16, 2019
@TravisBuddy
Copy link

Travis tests have failed

Hey @woodcockjosh,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

make test
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
gofmt -s -w pkg/minikube/assets/assets.go
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
/home/travis/gopath/bin/go-bindata
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/translate/translations.go -pkg translate translations/...
gofmt -s -w pkg/minikube/translate/translations.go
./test.sh
= go mod ================================================================
ok
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.17.1'
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
pkg/minikube/assets/addons.go:349: File is not `goimports`-ed (goimports)
		}, false, "helm"),
Makefile:334: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
ok  	k8s.io/minikube/cmd/minikube/cmd	0.088s	coverage: 16.2% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.072s	coverage: 18.7% of statements
ok  	k8s.io/minikube/pkg/drivers	0.027s	coverage: 18.4% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.071s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.054s	coverage: 62.9% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	2.836s	coverage: 73.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.065s	coverage: 30.6% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.513s	coverage: 53.0% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.023s	coverage: 76.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.014s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.009s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.061s	coverage: 75.9% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.038s	coverage: 1.4% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.039s	coverage: 11.3% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.045s	coverage: 78.6% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.009s	coverage: 70.3% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.030s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.015s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.014s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.057s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.447s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.004s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	2.108s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	0.963s	coverage: 62.0% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.015s	coverage: 59.1% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.002s	coverage: 0.0% of statements
ok
Makefile:232: recipe for target 'test' failed
make: *** [test] Error 4
TravisBuddy Request Identifier: 462a2890-d81d-11e9-94f2-eb1f1b783936

@woodcockjosh
Copy link
Contributor Author

/retest

@k8s-ci-robot
Copy link
Contributor

@woodcockjosh: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@afbjorklund
Copy link
Collaborator

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 16, 2019
@woodcockjosh
Copy link
Contributor Author

/retest

@medyagh
Copy link
Member

medyagh commented Sep 16, 2019

this is an exciting PR !

@medyagh
Copy link
Member

medyagh commented Sep 16, 2019

/retest this please

@woodcockjosh
Copy link
Contributor Author

@medyagh should we add an entry to addons.md as part of this PR?

@medyagh
Copy link
Member

medyagh commented Sep 16, 2019

@woodcockjosh yes please that's a good idea

@woodcockjosh
Copy link
Contributor Author

@woodcockjosh yes please that's a good idea

This is done. Let me know if there's anything else needed to merge.

@woodcockjosh
Copy link
Contributor Author

woodcockjosh commented Sep 18, 2019

@medyagh I'm not sure why those crosscheck build tests failed. I rebased off master. Maybe that will fix it. I saw some message about failed to run Kubelet: unable to load bootstrap kubeconfig: stat /etc/kubernetes/bootstrap-kubelet.conf

@tstromberg
Copy link
Contributor

/lgtm /approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tstromberg, woodcockjosh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 20, 2019
@tstromberg
Copy link
Contributor

tstromberg commented Sep 20, 2019

Question: should this be named helm-tiller, to thwart confusion with the upcoming helm3 release?

@woodcockjosh
Copy link
Contributor Author

@tstromberg I'll leave that up to you

@tstromberg
Copy link
Contributor

If you don't mind, let's name this "helm-tiller", so that it doesn't become confusing as to which part of helm it includes, particularly when helm v3.0 is released.

@tstromberg tstromberg changed the title Add helm addon Add helm-tiller addon Sep 24, 2019
@tstromberg
Copy link
Contributor

Thank you! This will be very useful for users.

@tstromberg tstromberg merged commit b75d4ab into kubernetes:master Sep 24, 2019
@woodcockjosh woodcockjosh deleted the add-helm-addon branch September 24, 2019 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants