Matt Butcher
2750e4d781
Lint dependencies ( #7970 )
...
* feat: add dependency tests
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* replaced on-disk fixtures with in-memory fixtures
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
wawa0210
637a5c6494
Environment variable for setting the max history for an environment
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
4 years ago
Matthew Fisher
3c9099290b
Merge pull request #7184 from zwwhdls/fix6116
...
fix stack overflow error in helm template.
4 years ago
Matthew Fisher
fc4a11c131
bump version to v3.3
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
(cherry picked from commit 5c2dfaad84
)
4 years ago
Matthew Fisher
d61aaf3fd7
Merge pull request #7235 from karuppiah7890/fix-lint
...
Show errors when linting for Chart.yaml version and appVersion fields of type non-string
4 years ago
Matthew Fisher
fc6d6d3605
Merge pull request #6979 from lindhe/explain_revision_version_in_get
...
Add comments about release Version variable
4 years ago
Matthew Fisher
e7ab975112
Merge pull request #8142 from technosophos/feat/1990-match-labels-lint
...
feat: Detect missing selector during lint
4 years ago
DongGang
ceff32d5f8
fix(template):Issue:helm template with --output-dir ( #8156 )
...
* fix(template):Issue:helm template with --output-dir doesn't write template with a hook to file
Close #7836
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
* fix go file style
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
* fix go file style
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
4 years ago
zwwhdls
d58a984878
fix conflict
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
4 years ago
zwwhdls
1b39857ac3
add test case
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
4 years ago
zwwhdls
4532485fd0
fix another extreme case
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
4 years ago
zwwhdls
c41c72cee9
add test case
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
4 years ago
zwwhdls
5396df2e28
fix #6116
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
4 years ago
Martin Hickey
97774ee13c
Merge pull request #8368 from Hellcatlk/go-lint
...
Fix some go-lint warnings
4 years ago
zouyu
c6a00e63ef
Fix some go-lint warnings
...
Signed-off-by: zouyu <zouy.fnst@cn.fujitsu.com>
4 years ago
Matthew Fisher
b167ce00d0
Merge pull request #8039 from xvzf/fix_insecure_skip_verify
...
added option --insecure-skip-tls-verify for helm pull, install and upgrade, addresses #7875
4 years ago
Matthew Fisher
148d94bcf7
version bump
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
4 years ago
Matt Butcher
b6bbe4f08b
Improve the extractor and add tests ( #8317 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Eric Lemieux
4c9972cb72
Add HelmVersion to Capabilities
...
Signed-off-by: Eric Lemieux <eric@lemieuxdev.com>
4 years ago
Adam Reese
aa03319669
fix(chartutil): do not set helpers.tpl filetype for vim
...
Helpers filetype is not mustache
Signed-off-by: Adam Reese <adam@reese.io>
4 years ago
Matt Farina
b458bdf5c1
Merge pull request #8188 from mattfarina/fix-8181
...
Fix issue with unhandled error on Stat
4 years ago
Karuppiah Natarajan
47c38ec23d
Show errors when linting for Chart.yaml version and appVersion fields of type non-string
...
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
4 years ago
Adam Reese
44a2225035
ref(tests): localize unit test fixtures to package
...
Use test fixtures that are in the same package as test.
Signed-off-by: Adam Reese <adam@reese.io>
4 years ago
Adam Reese
728eecbdf7
Merge pull request #8159 from adamreese/ref/chartutils-fixtures
...
ref(pkg/chartutil): use minimal in-memory fixtures
4 years ago
Matt Farina
f182ebc11c
Fix issue with unhandled error on Stat
...
If stat returns an error other than the directory not existing
it was unhandled. When IsDir is called in one of these situations
it causes a panic.
Closes #8181
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matt Farina
dbd001e532
Removing tiller language
...
Since Tiller is no longer part of Helm v3, internal documentation
language about Tiller can be removed
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
hzliangbin
146e0f9cc3
add kind_sorter support for SecretList
...
Signed-off-by: Bin Liang <hzliangbin@foxmail.com>
4 years ago
Matt Farina
6857da251e
Catching a potential panic in strval parsing
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matt Farina
8f1f0e0db2
Recovering from panic that can occur with make
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matt Farina
bade6478fc
Fixing error with strvals parsing
...
Closes #8140
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Adam Reese
3364265e78
ref(pkg/chartutil): use minimal in-memory fixtures
...
Signed-off-by: Adam Reese <adam@reese.io>
4 years ago
Matt Butcher
118d46eb3e
feat: Detect missing selector during lint
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Marc Khouzam
b18e7e201e
chore(*): Fix formatting
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
4 years ago
Matt Farina
512544b9ab
Fixing PAX Header handling ( #8086 )
...
* Fixing issue with PAX headers in plugin archive
PAX Headers can be added by some systems that create archives. Helm
should ignore them when extracting.
There are two PAX headers. One is global and the other is not. Both
are ignored. The test adds only the PAX global header because the
Go tar package is unable to write the header that is not global.
Closes #8084
Signed-off-by: Matt Farina <matt@mattfarina.com>
* Removing the PAX header test as it is not working
The PAX header test was making a WriteHeader call and ignoring the
error. When writing the type TypeXHeader it was causing an error
that was being silently ignored. The Go tar package cannot write
this type and produces an error when one tries to. The error reads
"cannot manually encode TypeXHeader, TypeGNULongName, or TypeGNULongLink
headers"
Signed-off-by: Matt Farina <matt@mattfarina.com>
* Adding check of returned error in test
Adding a check for the returned error to make sure a non-nil value
is not returned.
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
小明同学
decab8ea2e
fix: upgrade using --force shoud not run patch logic ( #8000 )
...
fix helm/helm#7999
Signed-off-by: Liu Ming <hit_oak_tree@126.com>
4 years ago
Hidde Beydals
ae738d7d87
feat(getter): add timeout option ( #7950 )
...
To allow finer grain control over the request when utilizing
`getter` as a package.
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Matthew Fisher
bfb39c0c68
bump DefaultCapabilities to 1.18
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
4 years ago
Matt Butcher
59eed4e81f
feat: make the linter coalesce the passed-in values before running values tests ( #7984 )
...
* fix: make the linter coalesce the passed-in values before running values tests
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* fixed typo
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Matt Farina
af52d35fb6
Merge pull request #8070 from IdanE/feature/port4165
...
Set DisableCompression to true to disable unwanted httpclient transfo…
4 years ago
Idan Elhalwani
93b0eee0df
Set DisableCompression to true to disable unwanted httpclient transformation
...
Signed-off-by: Idan Elhalwani <idan@elhalwani.com>
4 years ago
Martin Hickey
e672a42efa
Merge pull request #7932 from waveywaves/7537-install-only-crds-fails
...
Add checking of length of resourceList before install of uninstall
4 years ago
Martin Hickey
324c7cbc07
Merge pull request #8061 from hickeyma/feat/add-lint-deprecs
...
feat(lint): Update lint deprecation list
4 years ago
Matt Farina
b4f8312dba
Merge pull request #7983 from mattfarina/xdg
...
Adding Helm env vars where XDG exposed
4 years ago
Martin Hickey
e4768e6460
Update lint deprecation list
...
Add api group:
- apiextensions.k8s.io/v1beta1
- rbac.authorization.k8s.io/v1alpha1
Also, some kinds moved from extensions/v1 to extensions/v1beta1
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
4 years ago
Martin Hickey
a11785401b
Merge pull request #8055 from liuming-dev/patch--refactor-plugin-PluginFileName-magic-value
...
refactor: alter constant `pluginFileName` to `PluginFileName`
4 years ago
Liu Ming
e1aaf995a6
refactor: alter constant `pluginFileName` to `PluginFileName`
...
in order to reuse the "plugin.yaml" value in installer package
and avoid magic value in installer.go
Signed-off-by: Liu Ming <hit_oak_tree@126.com>
4 years ago
Matt Farina
0a38457f89
Merge branch 'xdg' of github.com:mattfarina/helm into xdg
4 years ago
Matt Farina
be38084eb4
Fixing argument to be lower case
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matt Farina
f90b842d3e
Merge branch 'master' into xdg
4 years ago
Matt Butcher
08e546f169
fix: removed strict template errors in linter ( #8017 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago