Qiang Li
4dd9047586
fix(helm): fix selector typo in service template for 'helm create' ( #4663 )
...
changed instancelease to instance in service template
closes #4661
Signed-off-by: Qiang Li <liqiang@gmail.com>
6 years ago
Louis Munro
7b821dd52f
Make ping() request a specific image. Add a getTillerPodImage method. ( #4622 )
...
Signed-off-by: Louis Munro <lm@louismunro.com>
6 years ago
Steve Wolter
e868da1705
Check for err before working with newRelease. ( #4630 )
...
Should fix #4585 .
Signed-off-by: Steve Wolter <swolter@google.com>
6 years ago
Matthew Fisher
a297a0a7fe
fix merge conflicts/linter errors ( #4653 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Carlos Tadeu Panato Junior
71ba25a5a9
change kubernetes to helm in docs and yaml files when refer the repository ( #4640 )
...
Signed-off-by: cpanato <ctadeu@gmail.com>
6 years ago
Helgi Þormar Þorbjörnsson
0029708801
test and build with golang 1.11 ( #4637 )
...
linters were failing with: pkg/urlutil/urlutil_test.go:1:⚠️ file is not gofmted with -s (gofmt)
Signed-off-by: Helgi Þorbjörnsson <helgith@gmail.com>
6 years ago
Matthew Fisher
5b23632446
Fix race condition in `helm list` ( #4620 )
...
* Fix race in helm list when partitioning
Problem:
The chunks slice that is passed through the channel is reused for each
partition. This means that encoding the release into a message is racing with
populating the next partition, causing the results to sometimes not fit in the
message, and the release list to be incorrect
Solution:
Allocate a new slice for each partition
Issue #3322
Signed-off-by: Brian Marshall <bmarshall13@users.noreply.github.com>
(cherry picked from commit a0858e29d8
)
* fix import sorting
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
* ref(release_server_test): use NewReleaseServer()
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
* add unit test for race condition in `helm list`
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
bef59e40dc
allow settings TLS flags from environment variables ( #4590 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
941b1f4d68
fix(release_server): handle the case when requested values is empty ( #4604 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Fabian Ruff
37a731db79
Avoid importing k8s.io/kubernetes from pkg/helm ( #4499 )
...
* Avoid importing k8s.io/kubernetes from pkg/helm
When writing a helm client (e.g. a helm plugin) that talks to tiller importing k8s.io/helm/pkg/helm to get the grpc client is key.
This pkg should not have a dependency to the k8s.io/kubernetes to avoid pulling in a lot of code that is only used within tiller and blow up binary sizes.
Signed-off-by: Fabian Ruff <fabian@progra.de>
* Add references to pull request in errors message
Signed-off-by: Fabian Ruff <fabian@progra.de>
* copy helper function from pkg/storage/driver
Signed-off-by: Fabian Ruff <fabian@progra.de>
* Move storage errors to seperate package
Signed-off-by: Fabian Ruff <fabian@progra.de>
* Keep old error variables for backward compatibility
Signed-off-by: Fabian Ruff <fabian@progra.de>
6 years ago
Christian Köberl
2e9855b98b
Set proxy for all connections, fixes #4326 ( #4579 )
...
Signed-off-by: Christian Koeberl <christian.koeberl@gmail.com>
6 years ago
Arash Deshmeh
380ca1a923
feat(helm): add ability to sort release list by chart name
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
6 years ago
Matthew Fisher
3f0c6c5404
Merge pull request #4221 from cmattoon/issue-2347
...
Do not fail linting because of missing 'required' template values
6 years ago
Matthew Fisher
faa921dd7c
Merge pull request #4358 from novas0x2a/fake-improvements
...
Flesh out the fake client even more
6 years ago
Jon Huhn
0b4e086e05
Fix typo in message.go
6 years ago
Martin Hickey
7306b4c28e
Fix helm create note for k8 label convention changes
...
Update to note as per changes in Issue #4335 . Otherwise cannot
retrieve the pod with the label names.
6 years ago
Adam Reese
b95eb54bf2
Merge pull request #4420 from adamreese/ref/kube-1.11
...
ref(*): kubernetes v1.11 support
6 years ago
Matt Farina
83e3571358
Merge branch 'master' into update-labels
6 years ago
Jon Huhn
d929391199
Fix typo in parser.go
6 years ago
Matt Tucker
38eb73760b
fix(client): fix bug in list releases to append all releases
6 years ago
Adam Reese
efadbd8803
ref(*): kubernetes v1.11 support
6 years ago
Matthew Fisher
76f325322a
bump version to v2.10
6 years ago
Matt Farina
e328d00a2f
Updating to the k8s label convention
...
Closes #4335
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
fibonacci1729
bd0686731c
fix(helm): fix(helm): add `--tls-hostname` flag to tls flags
...
docs(*): update tiller_ssl.md to reflect IP SAN usage.
When using helm/tiller in tls-verify mode, 127.0.0.1 should
be listed as an IP SAN in the tiller certificate to pass
hostname verficiation of the TLS handshake.
Closes #4149
6 years ago
Taylor Thomas
99bfe7c5ec
Merge pull request #4438 from tomasr/sastoken-in-repo-url
...
Test+Fix for Query string in repo URL is discarded when downloading packages
6 years ago
Michelle Noorali
2d82b88282
Merge pull request #4364 from michelleN/fix-4337
...
fix(release_server): fix how we merge values
6 years ago
Michelle Noorali
3e0de0dae9
fix(release_server): fix how we merge values
...
resolves #4337
Merging maps inside of strings gets a bit tricky. When two
strings consisting of "{}" were being added together, this resulted in
"{}\n{}" instead of "{}" which is what we wanted. This led to YAML
parsing errors and showed up when the `--reuse-values` flag was used
when no overrides via `--set` were provided during install and/or
upgrade.
6 years ago
Mike Lundy
15ef839ff4
[manifests] hoist the regex out of SplitManifests
6 years ago
Mike Lundy
0a9c16f42b
[fake] implement rendering and simulated upgrades
6 years ago
Mike Lundy
4139a00e17
[templates] extract some rendering code into a package
6 years ago
Mike Lundy
67de9f2be4
[tiller] move the Manifest type to its own pkg
...
It's really easy to cause an import cycle on this type; this resolves
the problem by moving it out of the tiller pkg into its own. An alias is
left behind in order to prevent downstream breakage.
6 years ago
Tomas Restrepo
152fdaf5ba
Only propagate query string if refURL is relative to baseURL
6 years ago
Tomas Restrepo
db69200152
Propagate query string arguments in repository URL to absolute chart URL
6 years ago
Matthew Fisher
9a788b7a48
Merge pull request #4161 from mattjmcnaughton/mattjmcnaughton/fix-wrong-timestamp-helm-package
...
Fix incorrect timestamp when helm package
6 years ago
Matthew Fisher
25a1cff317
Merge pull request #4402 from novas0x2a/force-obey-dryrun
...
fix(tiller): make update --force --dry-run obey dry-run
6 years ago
Mike Lundy
0736022d98
[tiller] make update --force --dry-run obey dry-run
6 years ago
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'
7 years ago
James Munnelly
5041d74187
Add 'name' label to created namespaces
7 years ago
Curtis Mattoon
8ce64076d3
Do not fail linting because of missing 'required' template values
7 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