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 Butcher
8316a403ed
bump version to v3.2
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
(cherry picked from commit 7bffac813d
)
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
Matt Butcher
524150c662
fix: use correct regular expression for Kubernetes names ( #8013 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Matt Butcher
bf9d629dc0
feat: implement deprecation warnings in helm lint ( #7986 )
...
* feat: implement deprecation warnings in helm lint
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* added more deprecated APIs
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Martin Hickey
c0edc586c5
Merge pull request #8034 from liuming-dev/master
...
polish to keep the same log style
4 years ago
Liu Ming
ff3ed53b7c
polish to keep the same log style
...
Signed-off-by: Liu Ming <hit_oak_tree@126.com>
4 years ago
Liu Ming
9be54fa3ce
Merge remote-tracking branch 'helm/master'
4 years ago
Martin Hickey
72a1e9afa3
Merge pull request #8025 from dol/fix/docu-helm-root-table
...
Fix markdown table in helm command doc
4 years ago
Liu Ming
84288701b3
Merge remote-tracking branch 'helm/master'
4 years ago
Lüchinger Dominic
fb829c2c84
Fix markdown table in helm command doc
...
The tables aren't rendered correctly because the syntax was wrong. Fixed it by applying the https://www.markdownguide.org/extended-syntax/#tables table syntax.
See https://helm.sh/docs/helm/helm/#synopsis for the wrong rendering.
![Broken table in html](https://imgur.com/bniKxO6 )
Fix for helm/helm-www#575
Signed-off-by: Lüchinger Dominic <dev@snowgarden.ch>
5 years ago
Matt Butcher
6fc9353056
feat: lint the names of templated resources ( #8011 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Farina
2139e82c68
Merge pull request #7972 from IppX/bug/6081-bom-in-resource-file
...
Remove utf-8 BOM when loading chart files and helmignore
5 years ago
Anshul Verma
cd50d0c362
Fix : Prints empty list in json/yaml is no repositories are present ( #7949 )
...
* Prints empty repolist in json/yaml if there are no repos and output format is given as json/yaml rather that printing the error msg "no repositories to show"
Signed-off-by: Anshul Verma <anshulvermapatel@gmail.com>
* Prints empty repolist in json/yaml if there are no repos and output format is given as json/yaml rather that printing the error msg "no repositories to show"
Signed-off-by: Anshul Verma <anshulvermapatel@gmail.com>
5 years ago
Matthew Fisher
e29ed7a108
Merge pull request #8006 from bridgetkromhout/adding-pr-template
...
Adding PR template from dev-v2 branch
5 years ago
Matthew Fisher
37782075b7
Merge pull request #8007 from bridgetkromhout/update-contributing
...
Updating CONTRIBUTING to match current practice
5 years ago
Bridget Kromhout
0a318beba3
Updating CONTRIBUTING to match current practice
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
5 years ago
Bridget Kromhout
f7d1bfd006
Adding PR template from dev-v2 branch
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
5 years ago
Martin Hickey
1d721226a9
Merge pull request #8001 from hs0210/work
...
Add unit test for pkg/chart/chart.go
5 years ago
Hu Shuai
6bc4a948be
Add unit test for pkg/chart/chart.go
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
5 years ago
Liu Ming
029922202a
Merge remote-tracking branch 'helm/master'
5 years ago
Adam Reese
d5d96ed3cf
Merge pull request #7929 from adamreese/fix/upgrade-results
...
fix(pkg/kube): continue deleting objects when one fails
5 years ago
Raphaël
984d2ac767
fix: write index.yaml file atomically ( #7954 )
...
* fix: write index.yaml file atomically
This refactors the already-existing `AtomicWriteFile` utility
to a central location and uses it to write index files
atomically.
This is done to avoid having half-written index files break
client requests.
Drive-bys:
- Add test for AtomicWriteFile.
- Add test IndexFile.WriteFile.
Signed-off-by: rabadin <rvbadin@gmail.com>
* Review fix: use RenameWithFallback instead of os.Rename
Signed-off-by: rabadin <rvbadin@gmail.com>
Co-authored-by: rabadin <rvbadin@gmail.com>
5 years ago
Adam Reese
0acd2aa278
Merge pull request #7982 from adamreese/fix/7539-kube-client-config
...
fix(pkg/cli): ensure correct configuration from kubeconfig file
5 years ago
Liu Ming
7ffdfa45e3
Merge remote-tracking branch 'helm/master'
5 years ago
Thomas FREYSS
c422e51ca1
test: add test for bom test data integrity
...
Signed-off-by: Thomas FREYSS <thomas.freyss@gmail.com>
5 years ago
Matt Farina
54e5088a50
Fixing docs from version to appVersion ( #7975 )
...
In the created chart from `helm create` is notes a tag overrides
version. It actually overrides appVersion. Updating the docs
to reflect reality.
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Josh Dolitsky
78d57d3d20
Modify Circle config to use Go 1.14 ( #7980 )
...
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
5 years ago
Adam Reese
4a0dfbe53b
fix(pkg/cli): ensure correct configuration from kubeconfig file
...
Bind Helm flags to Kubernetes configuration loader to get a merged
config with kubeconfig.
Fixes : #7539
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Adam Reese
9ced0165ab
fix(cmd/env): make helm env command respect cli flags ( #7978 )
...
Running `helm env` should respect cli flag overrides.
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Thomas FREYSS
27ebfa8c56
fix(*): remove bom in utf files when loading chart files ( #6081 )
...
Removes the BOM prefix if present, in read files before
processing the data.
Affects the following pkg:
- pkg/chart/loader: directory and archive loader
- internal/ignore: when loading .helmignore file
Signed-off-by: Thomas FREYSS <thomas.freyss@gmail.com>
5 years ago
Liu Ming
ee91c3e85f
Merge remote-tracking branch 'helm/master'
5 years ago
David Pait
6aefbdcf38
Helm upgrades with --reuse-values and nil user values -- with tests ( #7959 )
...
* return the new values if modifications dont yet exist
Signed-off-by: David Pait <DP19@users.noreply.github.com>
* fix tests
Signed-off-by: David Pait <DP19@users.noreply.github.com>
* removed outter if statement as its not needed now
Signed-off-by: David Pait <DP19@users.noreply.github.com>
5 years ago
Adam Reese
1cdd0a2048
fix(pkg/plugin): copy plugins directly to the data directory ( #7962 )
...
Copy plugins from the cache rather than create a symlink.
fixes : #7206
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Matt Butcher
bb47286f09
fix linting error with lookup function ( #7969 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Andre Sencioles
d0726e07ab
Parse reference templates in predictable order ( #7702 )
...
* Parse reference templates in predictable order
Fix issue #7701
Signed-off-by: Andre Sencioles <asenci@gmail.com>
* Add test case for issue #7701 regression
Signed-off-by: Andre Sencioles <asenci@gmail.com>
* gofmt
Signed-off-by: Andre Sencioles <asenci@gmail.com>
5 years ago
Matt Farina
b21b009785
Merge pull request #7147 from pmacik/fix-unknown-userid
...
fs_test.go: Assume non-root user instead of failing the test.
5 years ago
Predrag Knezevic
b83d3d415c
fs_test: use os.Getuid() instead user.Current() to determine if a test is executed with root privileges.
...
This change lower the expectations on test env setup, i.e. tests could be executed in a container under a random UID,
without require an user in /etc/passwd
Signed-off-by: Predrag Knezevic <pknezevi@redhat.com>
5 years ago
Liu Ming
48ac9ee390
Merge remote-tracking branch 'helm/master'
5 years ago
Matthew Morrissette
1911870958
fix(helm): allow a previously failed release to be upgraded ( #7653 )
...
Signed-off-by: Matt Morrissette <yinzara@gmail.com>
5 years ago
Matt Farina
5200584f04
Merge pull request #7942 from mattfarina/fix-7941
...
Updating get scripts to skip pre-releases
5 years ago
Matt Farina
8e1c34ef04
Updating get stripts to skip pre-releases
...
A recent change to the get scripts causes them to pickup
pre-releases in addition to stable releases. This update causes
only stable releases to be fetched by the get scripts.
Fixed #7941
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Liu Ming
b99d493a9e
Merge remote-tracking branch 'helm/master'
5 years ago
Matt Butcher
853ba2de16
fix: removed inaccurate comment ( #7937 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Elliot Maincourt
21d2aa7f2b
Migrate SQL storage driver to Helm 3 ( #7635 )
...
* Migrate SQL storage driver to Helm 3
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Update pkg/storage/driver/sql.go
Co-Authored-By: Sebastian Pöhn <sebastian.poehn@gmail.com>
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Add authentication to releases_v3
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Fix migration
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Template the init migration
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Prevent potential SQL injection
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Use an SQL querybuilder
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Remove references to HELM_DRIVER_SQL_DIALECT
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
Co-authored-by: Sebastian Pöhn <sebastian.poehn@gmail.com>
Co-authored-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Butcher
7b89e66e0c
fix: Fixed a regression that was introduced with changed nil handling ( #7938 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Farina
51ac9453a0
Merge pull request #7936 from mattfarina/fix-7533
...
Updating sprig and semver to newer versions
5 years ago
uzxmx
a34f311539
Fix nested null value overrides ( #7743 )
...
* Fix nested null value overrides
Signed-off-by: Mingxiang Xue <mingxiangxue@gmail.com>
* Fix subchart value deletion
Signed-off-by: Mingxiang Xue <mingxiangxue@gmail.com>
5 years ago