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
Mathieu Parent
58018d1210
Fix encoded path for 'helm dependency build'
...
Signed-off-by: Mathieu Parent <math.parent@gmail.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
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
Matthew Fisher
92bd9558e5
Merge pull request #9998 from bacongobbler/distribution-v3
...
Switch to distribution v3
3 years ago
Mario Valderrama
fae7853c2a
Implement show crds subcommand
...
This subcommand will display manifests under `crds/` if some exist.
This also changes the behaviour of `show all` to include CRDs.
Signed-off-by: Mario Valderrama <woldy401@gmail.com>
3 years ago
André Schröder
2131f4cba8
[fix concern] implement test
...
Signed-off-by: André Schröder <andre.schroedr@gmail.com>
3 years ago
André Schröder
6515ea84e2
[fix concern] use io.ReadAll instead of ioutil.ReadAll
...
Signed-off-by: André Schröder <andre.schroedr@gmail.com>
3 years ago
Martin Hickey
d83dd95cae
Merge pull request #9774 from yxxhero/fix_msg_when_index_yaml_empty
...
Add a more friendly prompt when index.yaml is empty.
3 years ago
Martin Hickey
ccb0cf63e4
Add flag for failing if repo update fails
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
3 years ago
Cory Snider
79df3926f6
fix(engine): parse fail messages with newlines
...
The templating engine handles errors originating from the `required` and
`fail` template functions specially, cleaning up the error messages to
be more presentable to users. Go's text/template package unfortunately
does not make this straightforward to implement. Despite
template.ExecError implementing Unwrap, the error value returned from
the template function cannot be retrieved using errors.As. The wrapped
error in ExecError is a pre-formatted error string with the template
function's error string interpolated in with the original error value
erased. Helm works around this limitation by delimiting the
template-supplied message and extracting the message out of the
ExecError string with a regex.
Fix the parsing of `required` and `fail` error messages containing
newlines by setting the regex flag to make `.` match newline characters.
Signed-off-by: Cory Snider <csnider@mirantis.com>
3 years ago
yxxhero
133c227331
add unittest
...
Signed-off-by: yxxhero <aiopsclub@163.com>
3 years ago
yxxhero
90fa4c962a
fix HELM PLUGINS behavior another_way
...
Signed-off-by: yxxhero <aiopsclub@163.com>
3 years ago
Josh Dolitsky
82cdb0b793
modify registry test to only listen on loopback
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
f0a528ec05
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matthew Fisher
4801818f7c
Switch to distribution v3
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
3 years ago