Christoph Hösler
57daa56b81
Update installDesc
7 years ago
Christoph Hösler
09313ad26c
fix(helm): resolve relative chart paths
7 years ago
Rajat Jindal
7f13e13a71
support output-dir when running 'helm template' ( #3144 )
...
* support output-dir when running 'helm template'
* add --output-dir to documentation
* when writing to file, dont add additional document
* trigger another ci build. make test-unit works for me
* dont write blank files
* return err instead of panic
7 years ago
Michelle Noorali
5884124294
ref(docs): update plugin install documentation
7 years ago
Matt Butcher
e8e6ac5d77
Fix/missing ssl params ( #3152 )
...
* fix(helm): add TLS params back
During a recent refactor, several TLS flags stopped being processed for
a few of the commands. This fixes those commands, and documents how to
set up TLS.
* fix(tiller): add stricter certificate verification
The older version of Tiller allowed a weaker set of certificate checks
than we intended. This version requires a client certificate, and then
requires that that certificate be signed by a known CA. This works
around the situation where a user could provide a self-signed
certificate.
7 years ago
Taylor Thomas
f6bff5da94
Merge pull request #3052 from Lookyan/master
...
Add previous namespace mismatch warning
7 years ago
Alexander Lukyanchenko
6f6d46de06
Fix err checking
7 years ago
Matthew Fisher
1954b51186
Merge pull request #2621 from gardlt/feature/helm/adding-kubeconifg-flag
...
feat(helm): adding kubeconfig flag
7 years ago
gardlt
371ff8f26d
feat(helm): adding kubeconfig flag
7 years ago
Matthew Fisher
1eb96ad9bc
use 127.0.0.1 instead of localhost
7 years ago
Matthew Fisher
fd33003065
Merge pull request #3078 from ipedrazas/feat/add_http_port
...
feat(tiller): exposes port 44135 in tiller deployment
7 years ago
Ivan Pedrazas
f20af6ab4c
feat(tiller): exposes port 44135 in tiller deployment
...
Tiller exposes probes and metrics in 44135. Because tiller doesn't expose that port and does not contain any Prometheus annotations, making Prometheus scrape tiller is a bit more complex.
Closes #2985
7 years ago
xuhaigang
ae49979175
feat(helm): Add a flag --dep-up that helm install will automatically execute helm dep up when charts are in requirements.yaml but not in charts
...
If checkdependencies returns an error, we can start download the
charts which are not in charts.
Closes #2879
7 years ago
Matthew Fisher
c35cbe8c4b
Merge pull request #2825 from dshulyak/rudderport
...
Allow to specify socket for rudder grpc server
7 years ago
Adam Reese
ca4d543151
Merge pull request #3059 from mattfarina/feat/appversion-search
...
feat(search): Expose AppVersion in search results
7 years ago
Yagnesh Mistry
441758b206
add version flag to tiller binary ( #2965 )
...
add version flag to tiller binary
* TODO comment on tiller.go
7 years ago
Matt Farina
3cba226e2d
feat(search): Expose AppVersion in search results
...
Some would like to expose and see the application version in the
search results. This change displays it.
Closes #3010
7 years ago
Alexander Lukyanchenko
3171f89e48
Add previous namespace mismatch warning
7 years ago
Matthew Fisher
1eff362941
Merge pull request #3014 from mattfarina/fix/semver-order
...
fix(semver): fixed edge cases that do not match prerelease
7 years ago
Adam Reese
13912b3cc0
Merge pull request #3008 from adamreese/ref/kube-1.8
...
ref(*): kubernetes v1.8 support
7 years ago
Taylor Thomas
ab096b883a
Merge pull request #2721 from RemingtonReackhof/secrets-support
...
feat(2196): secrets management
7 years ago
Brad Bowman
ab049ddb7b
move releaseMockWithStatus back to private
7 years ago
Brad Bowman
2bc97cfc83
Update install tests to use ReleaseMock and associates from the helm package. Also fix release names to match expected reponse values
7 years ago
Brad Bowman
14510866d5
Update cmd tests to use ReleaseMock and assocaites from the helm package
7 years ago
Adam Reese
2b43ecd405
ref(*): kubernetes v1.8 support
7 years ago
Maciej Kwiek
3d94d9cfec
Merge pull request #2769 from rocky-nupt/feature-remote-value
...
feat(helm):Allow remote values.yaml with -f
7 years ago
Justin Scott
16c579f3a3
feat(helm): Add --node-selectors and --output flags to helm init
...
This feature enables users to specify more control over where Tiller pod
lands by allowing "node-selectors" to be specified. Alternatively, the
"--output" flag will skip install and dump Tiller's raw Deployment manifest to stdout so user may alter it as they see fit (probably with a JSON manipulation tool like jq).
Closes #2299
7 years ago
Remington Reackhof
9af1018bd3
Add secrets storage backend for releases
7 years ago
Matt Farina
b27b11a280
fix(semver): fixed edge cases that do not match prerelease
...
>0.0.0-a does not match pre-releases on 0.0.0 that start with a
capital letter or number. This has to do with the ordering of
code points. Numbers and capital letters come before lowercase
letters.
>0.0.0-0 should match all valid pre-releases on 0.0.0. According
to the spec, "Numeric identifiers MUST NOT include leading zeroes."
A 0 is also the lowest code point for all the allowed characters
in a pre-release
7 years ago
Matthew Fisher
6e54d3b8ea
Merge pull request #2747 from rocky-nupt/dependencies-update-verify
...
fix(helm): Fix the bug in helm dependency update -verify
7 years ago
Maciej Kwiek
962191b929
Merge pull request #2876 from rocky-nupt/fix-search-regexp
...
Fix(helm): fix the bug of helm search --regexp
7 years ago
Neil Moore
b74f6dd769
Update install.go
7 years ago
Neil Moore
1b8ddac230
Update install.go
7 years ago
Neil Moore
b77b7dd3c7
Update install.go
7 years ago
Matthew Fisher
cf3fc21e81
Merge pull request #2898 from zlabjp/kube-version
...
feat(helm): add --kube-version flag to helm template
7 years ago
Sharno
550d350a04
Adding output for the created repos when `helm init`
7 years ago
Sam Leavens
fa40e60f7d
feat(*): add k8s version to version debug cmd
...
When 'helm version --debug' is run, this will print the kubernetes server
version as well as the helm client and server versions.
Closes #1398
7 years ago
Sam Leavens
3eeab04e0b
Revert "feat(*): add k8s version to version debug cmd"
...
This reverts commit 63be90dda5
.
7 years ago
Sam Leavens
63be90dda5
feat(*): add k8s version to version debug cmd
...
When 'helm version --debug' is run, this will print the kubernetes server
version as well as the helm client and server versions.
Closes #1398
7 years ago
Kazuki Suda
fa3ee5aecf
feat(helm): add --kube-version flag to helm template
...
This commit adds --kube-version flag to helm template. It allows you to
override the Kubernetes version used as Capabilities.KubeVersion.Major/Minor (e.g. 1.7).
7 years ago
Kazuki Suda
3508cebbf6
Use the same defaults as done in helm lint for Capabilities
7 years ago
flyer103
d55782de94
cmd/helm,docs/helm: amend default namespace of tiller
7 years ago
xuhaigang
c1cbb97348
Fix(helm): fix the bug of helm search --regexp
...
helm search cannot search for upper case by --regexp, because it
lowers all the letters when build repo index.
Closes #2865
7 years ago
Matthew Fisher
bb5db61325
Merge pull request #2781 from jascott1/i2755-template
...
feat(helm): add `template` command
7 years ago
Matt Butcher
7186fcf240
Merge pull request #2808 from ebabani/master
...
'helm upgrade --install' uses the namespace from kube config.
7 years ago
Justin Scott
4a02a71f1e
WIP feat(helm): add `template` command
...
This adds the functionality from the helm-template plugin to allow the
rendering of templates without Tiller.
Closes #2755
7 years ago
xuhaigang
c77a90a240
feat(helm):Allow remote values.yaml with -f
...
In this feature, we can use -f option with remote files, same as kubectl
accepts URLs. I add an option to send a 'get' request when read the local
file failed.
Closes #2642
7 years ago
Justin Scott
a2323f8658
Merge pull request #2818 from lichuqiang/master
...
fix typo in helm_fetch.md
7 years ago
Dmitry Shulyak
e4c5802cbc
Allow to specify socket for rudder grpc server
...
os args will be used to specify grpc server socket,
either --listen or -l can be used as an argument to rudder binary
7 years ago
Matt Butcher
a736c2a3fe
Merge pull request #2636 from technosophos/feat/2332-max-history
...
feat(tiller): limit number of versions stored per release
7 years ago
lichuqiang
ceb953c5b0
fix typo
7 years ago
Matt Butcher
04a0659b3e
Merge pull request #2809 from rocky-nupt/feature-read-from-STDIN
...
feat(helm):Support reading the values file from STDIN
7 years ago
xuhaigang
084dff477e
feat(helm):Support reading the values file from STDIN
...
We can use the command like
<pre>sed "s|foo|bar|g" values-template.yaml | helm install -f - stable/foo</pre>
This may be helpful in scripting.
Closes #2709
7 years ago
Ergin Babani
edb5be3ac5
'helm upgrade --install' uses the namespace from kube config.
...
Use the current kube config namespace by default if --namespace is not specified.
This makes 'helm upgrade --install' and 'helm install' handle namespaces
the same way.
7 years ago
Matt Butcher
0853f4906a
feat(tiller): limit number of versions stored per release
...
This adds a new configuration option to Tiller to limit the number of
records stored per release.
Tiller stores historical release information (helm history, helm
rollback). This makes it possible to set a maximum number of versions
per release.
To enable this feature, use `helm init --history-max NNN`. Note that
because of the restrictions on Deployment objects, you will have to
re-install Tiller to add a limit.
Along the way, I found an unreported bug in the Memory storage driver.
This fixes that bug and adds substantially more tests to catch
regressions.
Closes #2332
7 years ago
Maciej Kwiek
9c4bb14673
Delete old deps after chart deps are updated
...
This change changes the order of operations in
pkg/downloader.Manager.downloadAll
Old charts are moved to tmp directory which is restored in case any
dependency update fails. Otherwise tmp dir is deleted.
7 years ago
Maciej Strzelecki
e61ee5c54e
fix(helm): pass os.stdin when executing a plugin ( #2740 )
7 years ago
Baofa Fan
43ce6b57da
delete secret when helm reset ( #2715 )
...
* delete secret when helm reset
* add test
* expected 3 actions
7 years ago
xuhaigang
d84b707d1e
fix(helm): Fix the bug in helm dependency update -verify
...
Helm dependency update --verify should fail when verification fails.
Closes #2717
7 years ago
Taylor Thomas
8fc88ab626
Merge pull request #2681 from at1012/at-helm-list
...
feat(2063): Better 'helm list' visibility into state of pending upgrades
7 years ago
Adam Reese
7112a48af6
ref(helm): refactor cleanup of environment after tests run
7 years ago
Adam Reese
a29e610938
fix(helm): fix flag parsing once and for all
7 years ago
Aishwarya Thangappa
915e7023c4
Added more granular statuses
7 years ago
Aishwarya Thangappa
64bab308fb
Added unit tests
7 years ago
Aishwarya Thangappa
3d4361ca1f
Modified release_update and release_rollback
7 years ago
Taylor Thomas
564ba7ba7c
fix(dep): Fixes out of date dependency info
...
The help text for `helm dep` contained out of date info about
referring to a chart repo by name vs. URL.
7 years ago
Matt Butcher
b671888ff4
fix(helm): fix `helm get` subcommands
...
This correctly sets up the tunnel for `helm get values`, `helm get
manifest`, and `helm get hooks`.
Closes #2617
7 years ago
Adam Reese
876cbc205c
fix(helm): support HELM_HOME during plugin loading
...
closes #2630
7 years ago
Adam Reese
dd952e61f0
fix(helm): load home from flags during runtime
7 years ago
Maciej Strzelecki
46275612c3
feat(helm): add -a flag to 'helm list'
...
There's 'helm get values -a' already. I always try to use 'helm list -a'
spontaneously.
7 years ago
Justin Scott
8cac493557
Capitalize 'helm' text in init.go.
7 years ago
Steven E. Harris
24238bbe20
Merge pull request #2601 from jascott1/cap_init
...
feat(helm): Correct capitalization and punctuation for all user facing text
7 years ago
Matt Butcher
f0af7d60e7
Merge pull request #2592 from raisemarketplace/compare
...
ref(helm): consolidate vars() function
7 years ago
Justin Scott
37e5f76f9e
Capitalize 'helm' text that was missed.
7 years ago
Justin Scott
b704947d54
Fix broken tests due to "server-side" text change.
7 years ago
Justin Scott
af4c243ee3
Correct punctuation and capitalization for user facing strings.
7 years ago
Michelle Noorali
29c4709b5e
Merge pull request #2550 from michelleN/export-fake-release-client
...
ref(helm): make FakeReleaseClient public
7 years ago
Michelle Noorali
8a99a4aa6f
ref(helm): rename FakeReleaseClient -> FakeClient
7 years ago
Sushil Kumar
f476f83e83
<chart>.tgz will now be downloaded to "$HELM_HOME/cache/archive" directory ( #2558 )
...
* <chart>.tgz will now be downloaded to "$HELM_HOME/cache/archive" directory
Fixes https://github.com/kubernetes/helm/issues/2142
* Added archive location to helm init
7 years ago
Patrick Mahoney
9e62777a56
ref(helm): consolidate vars() function
7 years ago
Adam Reese
a658d24ccd
ref(tiller): refactor out cobra from tiller
8 years ago
Adam Reese
401f8bcc18
Merge pull request #2563 from adamreese/ref/code-cleanup
...
ref(helm): mix bag of syntax cleanup in cmd/helm
8 years ago
Matt Butcher
ecef026b68
Merge pull request #2545 from technosophos/feat/set-list-index
...
feat(helm): support array index format for --set.
8 years ago
Adam Reese
b671077de1
ref(helm): mix bag of syntax cleanup in cmd/helm
8 years ago
Steven E. Harris
9f9b3e8729
Use versioned API types from the client-go library ( #2524 )
...
* Use versioned API types from the client-go library
Wherever possible, use the k8s.io/client-go/kubernetes.Interface type
in favor of the client-related types from package
k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset
The latter are still required by the kubectl "reaper" types used in
the "installer" and "kube" packages.
* Accept the default deployment replica count of one
Don't bother requesting a single replica explicitly.
8 years ago
Matt Butcher
c01c7318ab
feat(helm): support array index format for --set.
...
This adds support for specifying list position with an array index using
`--set`. For example, this now works: `--set servers[0].port=8080`
8 years ago
Taylor Thomas
eb2882d750
Merge pull request #2549 from thomastaylor312/fix/broken_unit_test
...
fix(tests): Fixes broken unit test
8 years ago
Adam Reese
a98f701a62
Merge pull request #2553 from adamreese/fix/helm-home-stdout
...
fix(helm): helm home print to stdout
8 years ago
Adam Reese
985dbae2ac
fix(helm): helm home print to stdout
...
cobra prints to stderr by default
8 years ago
Michelle Noorali
70520efac4
ref(helm): make FakeReleaseClient public
...
so it can be used by other projects that
use the helm client
8 years ago
Taylor Thomas
5cfb4e8cf8
fix(tests): Fixes broken unit test
...
The new unit test was not passing an explict subcommand arg to the
root command in the unit test.
8 years ago
Matt Butcher
52a3405b1e
Merge pull request #2542 from sushilkm/issues/2128
...
Allow updating chart dependencies when packaging a chart
8 years ago
Sushil Kumar
4ddd832f35
Use download manager directly
8 years ago
Taylor Thomas
8a0e051c1d
fix(helm): Ensures tiller pod lands on a linux node
...
Without a node selector to ensure that tiller deploys on a linux node,
the tiller pod can have issues starting in a mixed cluster.
Fixes #2420
8 years ago
willise
c8b8c1e6d6
fix(helm): modify `helm repo update` help info
...
The former help info may cause misunderstanding that this command
can update content of charts existing in remote respositories while
it does pull charts' info from remote repositories.
This trivial modification leads better understanding.
8 years ago
Sushil Kumar
09bedff7d5
Allow updating chart dependencies when packaging a chart
...
Added -u flag that would cause helm dep up before running helm package
Fixes https://github.com/kubernetes/helm/issues/2128
8 years ago
Adam Reese
faf560c552
tests(helm): add unit tests for setting HELM_HOME
8 years ago
Adam Reese
d797acbd7b
fix(helm): fix race conditions in flag parsing
...
* fix a number of issues with flag parsing
* add support for `HELM_DEBUG`
* lazy expand flag default envars
8 years ago
peay
0f26cc5522
Add --force to upgrade and rollback
8 years ago
Taylor Thomas
3ed1ccf5dc
Merge pull request #2481 from sushilkm/issues/2480
...
Errors out if install/upgrade fails to load-requirements
8 years ago