Matthew Fisher
2d77db11fa
change copyright to "Copyright The Helm Authors"
6 years ago
KUOKA Yusuke
dc93908626
feat: Set values from local files ( #3758 )
...
Adds the `--set-file key=filepath` flag to `install`, `upgrade`, `template` and `lint` sub-commands so that the content of the file at the `filepath` is set to the value for the `key`.
Resolves #1754
6 years ago
Rohan Chakravarthy
4efa18a5ec
feat(helm): Add the --kubeconfig flag ( #4235 )
...
Adds the ability to specify a kubeconfig file that overrides $KUBECONFIG
6 years ago
Mike Lundy
a6ab04be4d
[fake] return the correct error message for missing releases
6 years ago
Mike Lundy
327080161d
[fake] make InstallReleaseFromChart obey DryRun
6 years ago
Brian
aedd306e83
Revert "fix(helm): add `--tls-hostname` flag to tls flags."
6 years ago
fibonacci1729
7faf62a209
fix(helm): add --tls-hostname flag to tls-flags
6 years ago
Matthew Fisher
50ebdd808d
Merge pull request #3825 from adshmh/3581-feat-allow-custom-desc-after-helm-release-upgrade
...
Feature: allow custom description after helm release upgrade
6 years ago
Matthew Fisher
cc826d3d2d
Merge pull request #4231 from munnerz/patch-2
...
Add 'name' label to created namespaces
6 years ago
roc
81994381c1
Support Stdin when using downloaders of plugin
...
Inject os.Stdin into the command of helm plugin's downloaders
6 years ago
Matthew Fisher
99f20d82bb
Merge pull request #4093 from aidtechnology/issue_4092
...
Migrate 'template' to 'include' in 'helm create'
6 years ago
James Munnelly
5041d74187
Add 'name' label to created namespaces
6 years ago
Curtis Mattoon
8ce64076d3
Do not fail linting because of missing 'required' template values
6 years ago
Matthew Fisher
f63baab020
Merge pull request #3923 from seaneagan/list_cmd_output_format
...
feat(list): Optional output as JSON and YAML
7 years ago
Matthew Fisher
a660b18987
Merge pull request #4135 from mattjmcnaughton/mattjmcnaughton/4086-fix-concurrency-issues-with-helm-install
...
Fix concurrency issues with helm install
7 years ago
Matthew Fisher
daeb458302
Merge pull request #4142 from elritsch/set-string-force-string-value-for-booleans-and-null
...
Make --set-string flag parse booleans and null as strings
7 years ago
Matthew Fisher
ad38044f7c
Merge pull request #4165 from tariq1890/master
...
Setting DisableCompression to true to disable unwanted httpclient transformation
7 years ago
Matthew Fisher
e195a9cd11
Merge pull request #4176 from mattjmcnaughton/mattjmcnaughton/4174-more-specific-name-reuse-error-message
...
Increase error message specificity for name reuse
7 years ago
Matthew Fisher
ee49d24434
Merge pull request #4188 from muehlburger/feat/improve-tests
...
test(helm): add test for 'ParseIntoString' and update test for 'ParseInto'
7 years ago
liyongxin
63760b2937
typo fix for lengh to length
7 years ago
Herbert Mühlburger
8817f7baa7
test: add test for 'ParseIntoString' and update test for 'ParseInto'
7 years ago
Arash Deshmeh
d8c4cbb0e0
feat(helm): Added the ability to handle custom description to client side for install, upgrade, rollback, and delete commands. Updated the documentation according to the changes.
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
a32868e48b
added ability to handle custom release descriptions to tiller
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
8389fe1d58
added description field to api types UpdateReleaseRequest, InstallReleaseRequest, UninstallReleaseRequest, and RollbackReleaseRequest
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
mattjmcnaughton
ddd1f48c40
Increase error message specificity for name reuse
...
If `helm upgrade` fails because a reused name is still in use, the error
message does not specify which name is still in use. Update the error
message.
7 years ago
tariq1890
3eaa1bfd3b
Setting DisableCompression to true to disable unwanted httpclient tranformations
7 years ago
mattjmcnaughton
96a85a06ed
Fix incorrect timestamp when helm package
...
The files contained in the `tar` file from `helm package` did not have
the correct timestamp. This lack of timestamp occurred because we were
not writing any time to the tar header file.
7 years ago
AdamDang
4d22b104b7
Typo fix: retruns->returns
...
retruns->returns
7 years ago
mattjmcnaughton
e8b788dc4f
Fix test failure message
...
The error message we reported if the test failed was incorrect.
7 years ago
Elmar Ritsch
a7362d76bc
Add test to make sure --set flag interprets `null` as `nil`
7 years ago
Elmar Ritsch
7308e766e2
Add test to make sure --set-string flag takes `null` as string
7 years ago
Elmar Ritsch
272d9bc6ef
Parse booleans and null as string values with --set-string flag
7 years ago
mattjmcnaughton
53c8e9b67e
Fix concurrency issues with helm install
...
Address a race condition that arises when running two `helm install`
commands, both of which specify a namespace that does not already exist.
In this specific instance, attempting to create a `namespace` which
already exists shouldn't be a failure which causes `helm install` to
terminate.
7 years ago
Matthew Fisher
3771ef8635
Merge pull request #3984 from muehlburger/dev
...
Fix filenames in tarball created on windows
7 years ago
Johnny Bergström
43b19dccbe
Add helm template --is-upgrade
...
Useful for toggling .Release.IsInstall / .Release.IsUpgrade which
in turn may cause templates to render differently.
7 years ago
Alejandro Vicente Grabovetsky
4fbc733ade
Migrate 'template' to 'include' in 'helm create' to conform to Helm best practices
...
Signed-off-by: Alejandro Vicente Grabovetsky <sasha@aid.technology>
7 years ago
AdamDang
89c29f3ff1
Update capabilities.go
7 years ago
Michelle Noorali
bb19aea597
Merge pull request #4043 from rajatjindal/fix-lint-warn
...
fix lint warning
7 years ago
AdamDang
51f92b4787
Typo fix: mach->match
...
mach->match
7 years ago
Rajat Jindal
f2abb2ae14
fix lint warning
7 years ago
Adam Reese
b831efdf58
fix(kube): run schema validation on BuildUnstructured
7 years ago
Matt Butcher
0699ec4248
feat(tiller): support CRD installation ( #3982 )
...
This adds support for installing CRDs well before any other resource
kinds are installed.
This PR introduces a new hook, `crd-install`, that fires before
manifests are even validated. It is used to install a CRD before any
other part of a chart is installed.
Currently, this hook is _only implemented for install_. That means we
currently cannot add new CRDs during `helm upgrade`, nor can they
be rolled back. This is the safest configuration, as the update/rollback
cycle gets very challenging when CRDs are added and removed.
7 years ago
Matthew Fisher
b353681283
Merge pull request #3988 from kubernetes/revert-3837-toYaml-pr
...
Revert "toYaml - Fix #3470 and #3410's trailing \n issues"
7 years ago
AdamDang
07bebe6bff
Typo fix: evalutes->evaluates
7 years ago
Herbert Mühlburger
a1b5b69248
Refactor to be more precise
7 years ago
Matthew Fisher
f7f686f7d0
Revert "toYaml - Fix #3470 and #3410's trailing \n issues"
7 years ago
Herbert Mühlburger
dcdeefbd63
#3763 replace backslash with forward slash
7 years ago
Matthew Fisher
18ac099dd6
Merge pull request #3956 from jstoja/support_ingress_wildcard
...
Add quoting support in ingress to allow wildcard domain
7 years ago
Matthew Fisher
d9395bcc06
remove need for type reflection
7 years ago
eyalbe4
c2fa72ebcd
Fix for - Downloader plugins not used when downloading new repo's index.yaml #3938
7 years ago
Julien Bordellier
cf3ded91f2
Add quoting support in ingress to allow wildcard domain
7 years ago
Matthew Fisher
d502f7c8a8
Merge pull request #3950 from BarryWilliams/issue3747
...
Add comments to fix linter issues
7 years ago
BarryWilliams
718578036d
Changed whitespacing in comments
7 years ago
Adam Reese
cefee4b749
fix(kube): output internal object table
...
fixes #3937
7 years ago
Matthew Fisher
f201db3fc2
Merge pull request #3692 from aleerizw/fix-sigsegv-create
...
Fixed SIGSEGV when running helm create with -p and no values.yaml file
7 years ago
Matthew Fisher
80bd904f1b
Merge pull request #3915 from bacongobbler/fix-3881
...
swallow the error when returning the default HTTP client
7 years ago
Sean Eagan
49c3d50e4e
feat(list): Optional output as JSON and YAML
...
The choice of interface `--output (json|yaml)` is to match that of the
status command, except that -o is not available as it is already used
by --offset.
WIP #1534
7 years ago
Adam Reese
6ffff5fea9
fix(kube): get correct versioned object from info helper
...
fixes : #3826
7 years ago
Michelle Noorali
b5c0e40d6a
Merge pull request #3898 from michelleN/filepath
...
ref(pkg/plugin): create clean path for extracting files
7 years ago
Matthew Fisher
aa2976f0ce
swallow the error when returning the default HTTP client
7 years ago
Adam Reese
31ddd707e8
fix(kube): use correct object type in watch
...
fixes #3902
7 years ago
Michelle Noorali
1850aeade9
fix(pkg/strvals): evaluate "null" values
...
resolves #3891
Co-authored-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Michelle Noorali
fed7e69c81
ref(pkg/plugin): create clean path for extracting plugins
7 years ago
AdamDang
9f78c33c64
Correct the returned message
...
Correct the returned message
7 years ago
Sergii Manannikov
7631b8a926
Create PodSecurityPolicy before Pods and ServiceAccounts
7 years ago
Justin Scott
ad714fe704
Merge pull request #3323 from jascott1/2620_importvals_warning_fix
...
fix(helm): fix importValues warnings from disabled charts
7 years ago
Matthew Fisher
e8460a8877
Merge pull request #3258 from mparry/fix-ca-file-option
...
(fix) Handle caFile alone being set for repos
7 years ago
Nikhil Manchanda
30f236b75c
Merge pull request #3877 from chancez/enhance_helm_template_handling
...
Update helm template -x to support children chart manifests in more cases
7 years ago
Chance Zibolski
d7e7170993
Add working template to mariner chart for use in testing subcharts
7 years ago
Matthew Fisher
28d87e1780
Merge pull request #3860 from adshmh/refactor-tiller-release-install-unit-tests-using-stubs
...
refactor tiller release install unit tests using chart and install request stubs
7 years ago
Matthew Fisher
6f02d9e412
Merge pull request #3837 from consideRatio/toYaml-pr
...
toYaml - Fix #3470 and #3410's trailing \n issues
7 years ago
eyalbe4
fa62c476fc
Basic auth credentials from repo not used in install/upgrade/fetch commands #3858
7 years ago
Arash Deshmeh
c22492ff01
fix(helm): refactor tiller release install unit tests using chart and install request stubs
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Matthew Fisher
ae7ce6cad4
Merge pull request #3842 from AdamDang/patch-1
...
Fix some typos
7 years ago
AdamDang
ee9ef91df0
typo fix get->Get's
...
typo fix get->Get's
7 years ago
Nikhil Manchanda
b687e9e879
Merge pull request #3709 from adshmh/fix-output-leak-of-tiller-release-install-test
...
fix output leak from tiller release install test
7 years ago
Taylor Thomas
2a86164c1d
Merge pull request #3829 from stuartleeks/set-rollback-failure
...
Fix: Failed rollback left in PENDING_ROLLBACK state
7 years ago
Steffen Windoffer
8bd42d2645
remove unused servicePort from default ingress template
7 years ago
AdamDang
138de17c64
Fix some typos
...
outout->output
Get's->get
the the->the
7 years ago
Erik Sundell
05a1f7f46c
Updated tests for PR #3837
7 years ago
Erik Sundell
6cdf6cee56
toYaml - Fixes #3470 - trailing \n issue
...
`toYaml` was introducing a new line. It is an issue since the new line is part of a functions output, it can't be whitespace chomped away so it would require a `trimSuffix "\n"` pipe. This commit trims one trailing `\n` from the toYaml output.
7 years ago
Erik Sundell
35132d141c
toYaml - Fixes #3410 - trailing \n issue
...
`toYaml` utilized by `.Files` was introducing a new line. It is an issue since the new line is part of a functions output, it can't be whitespace chomped away so it would require a `trimSuffix "\n"` pipe. This commit trims one trailing `\n` from the toYaml output.
7 years ago
Michelle Noorali
72d54f356d
Merge pull request #3831 from michelleN/fix-3655
...
fix(pkg/tiller): saves all previous computed values on reuseValues
7 years ago
Michelle Noorali
e02802ba95
ref(pkg/tiller): clarify reuseValues comment
7 years ago
Michelle Noorali
9266731dc4
fix(pkg/tiller): reuseValues combines all prev val
...
Resolves #3655
We were seeing that when running helm upgrade with the reuse-values
flag enabled that you could end up in the position where overrides
a.k.a computed values from previous revisions were not being saved on
the updated revision. This left us in a weird position where some
computed values would disappear mysteriously in the abyss. That
happened because computed values from previous revisions weren't merged
with the new computed values every time the reuse-values flag was used.
This PR merges computed values from the previous revisions so you don't
end up in that kind of conundrum.
7 years ago
Stuart Leeks
bac4f45f94
Switch flag to update existing record
7 years ago
Zack Williams
1d3ae54185
Fix #3822
7 years ago
Matthew Fisher
e794c48c3a
Merge pull request #3540 from flant/hook_recreate_delete_policy
...
Implement before-hook-creation delete policy
7 years ago
Timofey Kirillov
b7fe0d0bd7
Add hook-delete-policy ReleaseServer unit tests
...
Cover hook-succeeded, hook-failed and before-hook-creation hook delete policies.
7 years ago
fibonacci1729
ad99c1b749
release list paritioning
7 years ago
fibonacci1729
2dd9b34d28
stream releases when listing
7 years ago
Adam Reese
c574e03ed4
Merge pull request #3721 from adamreese/ref/kube-1.10
...
ref(*): kubernetes v1.10 support
7 years ago
adshmh
1a55161a53
Fix several golint warnings ( #3756 )
...
* fix(helm): fix golint warning due to ApiVersionV1 constant name
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to ResolveChartVersionAndGetRepo comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warnings on HttpGetter type and SetCredentials method missing a comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm):fix golint warning due to comment on FindChartInAuthRepoURL function
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to RepoFile type name
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to ParseString comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Adam Reese
7c19cb7040
ref(*): kubernetes v1.10 support
7 years ago
cameronconradt
6a59683c01
Update files.go
...
Should suppress the warnings about the naming of these two functions. Added TODO
7 years ago
Matthew Fisher
850c8714a7
Merge pull request #3661 from bacongobbler/fix-default-connection-timeout
...
add back the default 5 second connection timeout
7 years ago
Morgan Parry
332dc83c46
(fix) Handle caFile alone being set for repos
...
Previously it was only respected if certFile and keyFile were also
specified. However, these are independent features.
7 years ago
Alexey igrychev
1d4883bf3c
Implement before-hook-creation delete policy
...
Existing helm.sh/hook-delete-policy annotation variables (hook-failed, hook-succeeded) do not allow to leave failed jobs for debugging without blocking the next job launching: every failed job must be deleted manually before the next related release is launching (installing, updating or rolling back).
New policy, before-hook-creation, removes the hook from previous release if there is one before the new hook is launched and can be used with another variable.
7 years ago
Arturo Contreras
a615f80c92
Adding --set-string flag to force string values.
7 years ago
Eyal Ben Moshe
b6335b7dfe
Authentication support for remote charts repositories ( #3206 )
...
Authentication support for remote charts repositories.
7 years ago