Matt Farina
7d13cd5ca1
Merge pull request #10081 from mattfarina/bump-version-3.7
...
bump version to 3.7
3 years ago
Matt Farina
3d1bc72827
Merge pull request #10084 from mattfarina/fix-10082
...
Fixing issue with non-existant .Template when using tpl function
3 years ago
Matt Farina
f895948ae2
Fixing issue with non-existant .Template when using tpl function
...
This is a regression accidently introduced in #9957 .
A delete call had been used on the Template key of vals. This caused
a condition where Template was not available when rendering via tpl.
The delete happened after ExecuteTemplate so the issue is surpsising.
It may possibly be a race condition. Existing tests did not catch it.
I tried to create a test that directly tested the issue and was
unable to replicate the error seen with real charts. This leads me
to believe it is a race condition in the underlying Go template
package.
The delete call was not there before #9957 . It should be safe to
remove and keep that information.
Closes #10082
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Matt Farina
e6a92c4b62
bump version to 3.7
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 7048ef6b30aa23abdcfcaf523cb4c42dff85add9)
3 years ago
Matt Farina
accf82ba1c
Merge pull request #9180 from Moser-ss/feature-handle-SIGINT
...
Handle SIGTERMs during helm upgrade and helm install
3 years ago
Matt Farina
2062a59566
Merge pull request #9702 from mikeshng/uninstall-wait
...
feat: add optional boolean '--wait' flag to 'uninstall' command.
3 years ago
Matt Farina
601bed2142
Merge pull request #9782 from bloodorangeio/hip-6
...
Implement changes proposed in HIP 6: OCI Support
3 years ago
Josh Dolitsky
caa97158d0
Revert moving registry actions back to pkg/
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
bf9c9b45a8
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Martin Hickey
c3ad0c7242
Merge pull request #9333 from bgutjahr/fix-9332
...
Fix 9332
3 years ago
Josh Dolitsky
77750962d5
Move registry actions back to pkg/
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
336c7862e5
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
2ab0d0a89f
Merge pull request #10008 from yxxhero/fix_HELM_PLUGINS_behavior_another_way
...
Fix helm plugins behavior another way
3 years ago
Matt Farina
387b0b74d8
Merge pull request #9822 from sathieu/fix_helm_dep_build_encoded_url
...
Fix encoded path for 'helm dependency build'
3 years ago
Martin Hickey
99b029b6ca
Merge pull request #10076 from azanar/patch-1
...
Fix HELM_DRIVER docs for sql option
3 years ago
Ed Carrel
bc1fefa9f3
Fix HELM_DRIVER docs for sql option
...
Option that works is `sql`, not `postgres`.
Probably not a commonly used value, since no one has caught this until now.
Signed-off-by: Ed Carrel <edward@carrel.org>
3 years ago
Mike Ng
75fe8883cc
Rename newly introduced interface to InterfaceExt
...
Signed-off-by: Mike Ng <ming@redhat.com>
3 years ago
Mathieu Parent
58018d1210
Fix encoded path for 'helm dependency build'
...
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
3 years ago
Stephane Moser
101370af3d
Wrap error
...
To make the install comand consistent with upgrade comand when handling errors
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Mike Ng
d51a61f9ab
Introduce a new interface for WaitForDelete() to avoid breaking backwards compatibility
...
Signed-off-by: Mike Ng <ming@redhat.com>
3 years ago
Josh Dolitsky
0121f6a328
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Mike Ng
655bdcd2fd
feat: add optional boolean '--wait' flag to 'uninstall' command.
...
If set, 'uninstall' command will wait until all the resources are deleted before returning.
It will wait for as long as --timeout
closes #2378
Signed-off-by: Mike Ng <ming@redhat.com>
3 years ago
Matt Farina
a9c957d35b
Merge pull request #10064 from mattfarina/fix-10058
...
Fixing issue where helm show all fails to show crds when no readme
3 years ago
Bernd Gutjahr
5cf9735a9d
improved coalesce readability by getting rid of continue statements
...
Signed-off-by: Bernd Gutjahr <bernd.gutjahr@microfocus.com>
3 years ago
Bernd Gutjahr
1740e7f89b
enhanced coelesce_test with some more test cases
...
Signed-off-by: Bernd Gutjahr <bernd.gutjahr@microfocus.com>
3 years ago
Matt Farina
dfec34e2de
Merge pull request #10063 from mattfarina/bump-k8s-0.22
...
Updating to Kubernetes 1.22 packages
3 years ago
Matt Farina
0ff53945bf
Fixing issue where helm show all fails to show crds when no readme
...
Closes #10058
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Matt Farina
95276d89a6
Updating to Kubernetes 1.22 packages
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Matt Farina
c635f66103
Merge pull request #9957 from vflaux/feat/subcharts-scope
...
feat(pkg/engine): expose subcharts scope in parent
3 years ago
Matt Farina
ac80a5eec9
Merge branch 'main' into feat/subcharts-scope
3 years ago
Matt Farina
2de6f9d424
Merge pull request #9993 from Ka0o0/make-isroot-available-to-template
...
Make Chart's IsRoot available to templates
3 years ago
Matt Farina
f509bc6891
Merge pull request #10047 from lsowen/feature-10042
...
Fix SIGSEGV when job.Spec.Completions is nil
3 years ago
Matt Farina
f1ef1020e2
Merge pull request #10017 from corhere/fix/9981-fail-message-with-newlines
...
fix(engine): parse fail messages with newlines
3 years ago
Matt Farina
9443a7ead4
Merge pull request #10033 from avorima/show-crds-command
...
Implement show crds subcommand
3 years ago
Matthew Fisher
c7502671ef
Merge pull request #9934 from jayonlau/clean_up
...
Clean up extra spaces
3 years ago
Kai Takac
8fcaf7b85c
Add Chart IsRoot test
...
Signed-off-by: Kai Takac <kai.takac@gmail.com>
3 years ago
Kai Takac
06ae6f933a
Make Chart's IsRoot available to templates
...
Signed-off-by: Kai Takac <kai.takac@gmail.com>
3 years ago
Martin Hickey
4a0b3d8c3d
Merge pull request #9769 from howardjohn/update-sql
...
Update github.com/rubenv/sql-migrate
3 years ago
Martin Hickey
991744bd3e
Merge pull request #10024 from hickeyma/feat/fail-on-repo-update
...
feat(repo update): Add flag for failing command if any update of a repo fails
3 years ago
Adam Reese
1f55ecfcd3
Merge pull request #9914 from adamreese/feat/list-object-linter
...
feat(linter): check for nested resource-policy annotations
3 years ago
lsowen
249d1b5fb9
Fix SIGSEGV when job.Spec.Completions is nil
...
Signed-off-by: lsowen <logan@s1network.com>
3 years ago
Matthew Fisher
8b7e3a5c9c
Merge pull request #9986 from sbose78/v0.21.3
...
kube client library bump to v0.21.3
3 years ago
Shoubhik Bose
78ad904212
resolve conflict
...
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
3 years ago
Marc Khouzam
e2836ff65b
feat(comp): Add descriptions for repo completion
...
Ref: HIP 0008
When completing a repo name, extra information will be shown.
For example:
$ helm repo remove <TAB>
bitnami -- https://charts.bitnami.com/bitnami
center -- https://repo.chartcenter.io
stable -- https://kubernetes-charts.storage.googleapis.com
$ helm install myrelease <TAB>
./ -- Relative path prefix to local chart
/ -- Absolute path prefix to local chart
bitnami/ -- https://charts.bitnami.com/bitnami
center/ -- https://repo.chartcenter.io
file:// -- Chart local URL prefix
grafana/ -- https://grafana.github.io/helm-charts
https:// http:// -- Chart URL prefix
oteemocharts/ -- https://oteemo.github.io/charts
prometheus-community/ -- https://prometheus-community.github.io/helm-charts
stable/ -- https://charts.helm.sh/stable
$ helm show all <TAB>
bitnami -- https://charts.bitnami.com/bitnami
center -- https://repo.chartcenter.io
stable -- https://kubernetes-charts.storage.googleapis.com
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
3 years ago
Matthew Fisher
8d8a27ed1f
Merge pull request #9980 from schra/feat/password-stdin
...
feat(helm): add --password-stdin to `helm repo add`
3 years ago
Matthew Fisher
29da1b94e9
Merge pull request #9889 from bacongobbler/fix-5567
...
fix: refactor downloadAll
3 years ago
John Howard
b9b340d108
Update github.com/rubenv/sql-migrate
...
Signed-off-by: John Howard <howardjohn@google.com>
3 years ago
Matthew Fisher
bd62fb287f
Merge pull request #9970 from howardjohn/drop-k8s
...
Update oras-go to latest version
3 years ago
John Howard
82a2abf512
Update oras-go to v0.4.0
...
Signed-off-by: John Howard <howardjohn@google.com>
3 years ago
Matthew Fisher
4b23d0a25b
fix: refactor downloadAll
...
This refactor cleans up downloadAll's validation, download, and save
logic:
1. A temporary directory is created, and removed after all references to
the struct have been dropped via `defer`
2. Any local dependencies in the `charts` directory are kept intact and validated
3. Charts that have been updated are moved to the `charts` directory
This refactor has a number of improvements, including:
- tmpCharts is removed after execution
- no remote charts are downloaded to destPath: they are all pulled into
tmpPath, validated, then moved to destPath
- lots of code cleanup/improvements, like the `if` block checking
whether the `charts` directory was actually not a directory. In some
cases it could be checking a `nil` object, causing a runtime panic.
- the cyclomatic complexity of the code was simplified
- extra (and in some cases, dangerous) calls to `os.RemoveAll` have been
refactored, cleaning the code and preventing certain failure cases.
A test has been provided to demonstrate the tmpCharts removal issue has
been fixed.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
3 years ago