Matt Farina
f65eaf35ce
Merge pull request #12690 from TerryHowe/oci-install-digest
...
feat: OCI install by digest
9 months ago
George Jenkins
88da89085e
refactor: Remove redundant `NewPullWithOpts`
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
9 months ago
Matt Farina
2236294119
Updating to helm.sh/helm/v4
...
Since Helm is going through breaking changes with Helm v4, the version path to
Helm needs to be updated.
Signed-off-by: Matt Farina <matt.farina@suse.com>
9 months ago
Matt Farina
e4c8da3609
Merge pull request #13546 from mattfarina/bump-go-1.23
...
Update to Go 1.23
9 months ago
Scott Rigby
9c0d3c4561
Merge pull request #13439 from mayankshah1607/cli-take-ownership
...
Add --take-ownership flag for install and upgrade commands
9 months ago
Matt Farina
5727f56a96
Update to Go 1.23
...
Multiple changes were made to pass linting. Some Go built-in names
are being used for variables (e.g., min). This happens in the Go
source itself including the Go standard library and is not always
a bad practice.
To handle allowing some built-in names to be used the linter config
is updated to allow (via opt-in) some names to pass. This allows us
to still check for re-use of Go built-in names and opt-in to any
new uses.
There were also several cases where a value was checked for nil
before checking its length when this is already handled by len()
or the types default value. These were cleaned up.
The license validation was updated because it was checking everything
in the .git directory including all remote content that was local.
The previous vendor directory was from a time prior to Go modules
when Helm handled dependencies differently. It was no longer needed.
Signed-off-by: Matt Farina <matt.farina@suse.com>
9 months ago
George Jenkins
e3e84343d2
refactor: tlsutil use options pattern
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
9 months ago
Mayank Shah
edf7b66ae9
fix test output
...
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
10 months ago
Mayank Shah
b9d58a19f1
fix test
...
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
10 months ago
Mayank Shah
2541e465c4
fix upgrade
...
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
10 months ago
Evans Mungai
5b1eb784cb
Fix linter warning
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
10 months ago
Evans Mungai
d4175cfcff
Move pprof paths to HELM_PPROF env variable
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
10 months ago
Terry Howe
569f62e58b
chore: fix problems with latest lint
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
10 months ago
George Jenkins
b91a772d71
Merge pull request #13444 from justenstall/remove-status-flags
...
fix(status): remove --show-desc and --show-resources flags
10 months ago
Matt Farina
4dd2a7d626
Merge branch 'main' into oci-install-digest
10 months ago
George Jenkins
6202d96f38
Remove deprecated `repo add --no-update` flag
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
10 months ago
Evans Mungai
af622e8887
Additional review fixes from PR
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
10 months ago
Evans Mungai
baf8bffc12
feat: Add flags to enable CPU and memory profiling
...
Add capability to profile cli command using
https://go.dev/blog/pprof
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
10 months ago
Steve Hipwell
bb9f0f7816
feat: Added multi-platform plugin hook support
...
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
10 months ago
George Jenkins
c724175b03
Merge pull request #13343 from niladrih/more-metadata
...
Add annotations and dependencies to get metadata output
10 months ago
Scott Rigby
bca7d31c9b
Merge pull request #12769 from banjoh/em/password-to-oci-registries
...
fix(helm): pass down username/password CLI parameters to OCI registry clients
10 months ago
Evans Mungai
7a22dd28d1
Rename CAFile to CaFile for consistency
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
10 months ago
Mayank Shah
885e938793
Update cmd/helm/upgrade.go
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
10 months ago
Mayank Shah
7efa2862ad
Update cmd/helm/install.go
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
10 months ago
Justen Stall
28be06e1d0
remove references to the removed flags in help text
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
33f78efe1d
fix unit tests
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
0a64f74a25
update references to statusPrinter
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Robert Sirchia
21568dee29
Merge pull request #13425 from MathieuCesbron/main
...
Fix typo "re-use" to "reuse"
11 months ago
Justen Stall
483697584f
fix(status): remove --show-desc and --show-resources flags
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
11 months ago
Mayank Shah
c3a5f27c77
Add --take-ownership flag for install and upgrade commands
...
The `TakeOwnership` setting was added to the install and upgrade actions in
https://github.com/helm/helm/pull/12876
This PR allows setting this option on install and upgrade via the CLI
using a --take-ownership flag
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
11 months ago
mathieu cesbron
fc17fc75e2
Fix typo "re-use" to "reuse"
...
Signed-off-by: mathieu cesbron <mathieu.rudy.cesbron@gmail.com>
11 months ago
Taylor Jasko
6f2f7d4781
Updating subchart load error to be more descriptive
...
In the event some malformed folders/files make its way into the
`charts/` directory meant for subcharts, it is possible one may see an
error message like the below:
```
Error: error unpacking foo in app: Chart.yaml file is missing
```
This error is not very descriptive, as it doesn't reference where on
disk `Chart.yaml` is missing. In the event this happens, this error is
being updated to include that `Chart.yaml` is missing for the `foo`
subchart.
Without this updated error messaging, one would need to look into Helm's
codebase to troubleshoot what exactly is wrong.
Signed-off-by: Taylor Jasko <taylor@taylorjasko.com>
11 months ago
Terry Howe
ad9fb68fa3
feat: allow installation by OCI digest
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
11 months ago
Evans Mungai
d25b0d9056
Remove unnecessary function arguments
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
11 months ago
Evans Mungai
323f88950a
Merge remote-tracking branch 'origin/main' into em/password-to-oci-registries
11 months ago
Niladri Halder
d351b091ca
Add annotations and dependencies to get metadata output
...
The output of helm get metadata includes a subset of the fields contained in
the chart.Metadata struct. This change adds the values of the annotations field
and the dependencies field to the output.
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
12 months ago
Matt Farina
159844e2c6
Merge pull request #13349 from TerryHowe/format-chart-name
...
Format chart name
12 months ago
Matt Farina
663a4e64ea
Merge pull request #13338 from yardenshoham/issues/13320
...
Remove the Kubernetes configuration file permissions check
12 months ago
Matt Farina
eecb848dcb
Merge pull request #13301 from NathanBaulch/typos
...
Fix typos
1 year ago
Matt Farina
f0f98817e3
Merge pull request #13240 from rauno56/docs/repo-index-desc
...
docs(repo_index): explicitly state that the result is written to the directory passed in
1 year ago
Terry Howe
de18ac1602
fix: add missing formatChartName call
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
1 year ago
myeunee
4735f2be9b
Update history.go
...
Rename formatChartname to formatChartName for consistency
Signed-off-by: myeunee <myeunee@gmail.com>
1 year ago
Yarden Shoham
49cb14a15c
Remove the Kubernetes configuration file permissions check
...
See https://github.com/helm/helm/issues/13320#issuecomment-2346724311
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
1 year ago
Nathan Baulch
ef85fa7f2d
Grammar fixes
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
1 year ago
Nathan Baulch
ff9dd262e3
Fix typos
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
1 year ago
Matt Farina
d644da6205
bump version to v3.16.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 0d439e1a09
)
Signed-off-by: Matt Farina <matt.farina@suse.com>
1 year ago
Giulio
31a1252b1c
remove utc
...
Signed-off-by: Giulio <giuliocalzolari@users.noreply.github.com>
1 year ago
Giulio
39799adfb2
update
...
Signed-off-by: Giulio <giuliocalzolari@users.noreply.github.com>
1 year ago
Marc Khouzam
c92cc07c1b
ActiveHelp for cmds that don't take any more args
...
The result is that when doing shell completion (bash and zsh only),
instead of getting no suggestions for commands that take no more
arguments, the user will instead be shown an informative message:
$ helm list <TAB>
This command does not take any more arguments (but may accept flags).
Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
1 year ago
Rauno Viskus
a71eaeaf52
docs(repo_index): explicitly state that the result is written to the directory passed in
...
Signed-off-by: Rauno Viskus <rauno56@gmail.com>
1 year ago
Evans Mungai
0687961da4
Revert CAFile rename breaking change
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
anessi
acf7158565
feat(helm): add --skip-schema-validation flag to helm 'install', 'upgrade' and 'lint'
...
When --skip-schema-validation is set, any schema contain in the helm chart is ignored. Defaults to 'false'.
Closes #10398
Signed-off-by: anessi <16045045+anessi@users.noreply.github.com>
1 year ago
Evans Mungai
12d8d28534
Add username/password to package subcommand
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
Evans Mungai
0ad80e3b58
Run go fmt
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
Evans Mungai
837ae4242c
Add username/password to dependency build/update subcommands
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
Evans Mungai
7672a1700d
Add username/password to push subcommand
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
Suleiman Dibirov
4d25dd3d8e
fixed dependency_update_test.go
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
1 year ago
Andrew Block
414cf94666
Merge pull request #11600 from miles-w-3/chart-notes
...
Added support for hiding notes from install/upgrade output
1 year ago
Matt Farina
f1e85184e2
Merge pull request #12649 from yyzxw/fix/wrong-cli-description
...
fix: wrong cli description
1 year ago
Matt Farina
2a2aa4aafd
Merge pull request #12856 from yxxhero/fix-typo-in-load_plugins.go
...
fix typo in load_plugins.go
1 year ago
Matt Farina
886e626636
bump version to v3.15.0
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit d7afa3b6b4
)
1 year ago
Matt Farina
7b70fdf2a2
Merge pull request #12701 from mattfarina/bump-version-3.14
...
bump version to 3.14
1 year ago
Evans Mungai
76c0f297c1
Merge remote-tracking branch 'origin/main' into em/password-to-oci-registries
1 year ago
Matt Farina
14d0c13e9e
Merge pull request #11569 from alex-petrov-vt/iss-11553
...
fix: reinstall previously uninstalled chart with --keep-history
1 year ago
Matt Farina
a753ee7f43
Merge pull request #12866 from robertsirc/Correcting-Linting-Errors
...
Correcting linting errors
1 year ago
deterclosed
dd37787ffd
chore: remove repetitive words
...
Signed-off-by: deterclosed <fliter@outlook.com>
2 years ago
Matt Farina
25c473834e
Enabling hide secrets on install and upgrade dry run
...
This change adds a new flag to the install and upgrade commands in
the Helm client and properties to the install and upgrade action.
The new flag is --hide-secret and can only be used with the
--dry-run flag.
The --dry-run flag is designed to send all chart rendered manifests to
stdout so that they can be inspected.
When the --hide-secret flag is used the Secret content is removed from
the output.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Robert Sirchia
571f69d7ff
Merge branch 'Correcting-Linting-Errors' of https://github.com/robertsirc/helm into Correcting-Linting-Errors
2 years ago
Robert Sirchia
d58d7b3762
Fixing all the linting errors
...
Cleaned up all the linting errors we are getting.
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2 years ago
Matt Farina
a23dd9e3b7
Add a note about --dry-run displaying secrets
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
yxxhero
7fbde33109
fix typo in load_plugins.go
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2 years ago
Evans Mungai
dc158f6208
fix(helm): pass down username/password CLI parameters to OCI registry clients
...
When username/password parameters are passed in via the CLI
they are not passed down to the client handling requests to
OCI registries. This change ensures this happens
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 years ago
Matt Farina
f4c37e7db5
bump version to
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 69dcc92c56
)
2 years ago
yyzxw
bf4d6f290b
fix: wrong cli description
...
Signed-off-by: xiaowu.zhu <xiaowu.zhu@daocloud.io>
2 years ago
Joe Julian
6e5332e79b
fix test to use the default code's k8sVersionMinor
...
Signed-off-by: Joe Julian <me@joejulian.name>
2 years ago
Antoine Deschênes
869c1d2560
lint: Add --kube-version flag to set capabilities and deprecation rules
...
Signed-off-by: Antoine Deschênes <antoine@antoinedeschenes.com>
2 years ago
Matt Farina
847369c184
Update to Go 1.21 for builds
...
Noteis:
1. This moves golangci scanning to a GitHub action. This will
enable inline pointers to issues in the PR where linting fails.
2. Go 1.21 is specified in the go.mod because Kubernetes libs
require it.
3. The lint issues were removed. Some were fixed while others
were handled by skipping linting or using _ as an argument.
Many of these can be refactored later for better cleanup.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Joe Julian
30c35166e8
Merge pull request #12350 from iamasmith/qps-iamasmith-1
...
QPS parameter proposal
2 years ago
Matt Farina
c682fdfebf
Merge pull request #12539 from chojnack/main
...
Fixing release labelling in rollback
2 years ago
Scott Rigby
2745909d3d
Merge pull request #9653 from Okhoshi/feat/reset-then-reuse-flag
...
feat(helm): Add --reset-then-reuse-values flag to 'helm upgrade'
2 years ago
Marcin Chojnacki
8814bfb490
Fixing release labelling in rollback
...
1. Fixed propagating labels to rollback release
Signed-off-by: Marcin Chojnacki <marcin.chojnacki@nokia.com>
2 years ago
Matt Farina
25371e2f0d
Fixing precedence issue with the import of values.
...
The ordering should be:
1. User specified values (e.g CLI)
2. Parent chart values
3. Imported values
4. Sub-chart values
This enables parnet charts to import large set of values from a
child and then override select values.
This change is needed for backwards compatibility.
Fixes #12460
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Miles Wilson
0c541398f2
Added support for hiding notes from install/upgrade output
...
Signed-off-by: Miles Wilson <wilson.mil@icloud.com>
2 years ago
Matt Farina
0e72b64797
Merge pull request #11880 from Bhargav-InfraCloud/fail-on-no-result
...
helm search: new CLI flag `--fail-on-no-result` to fail when no results found for search (repo and hub)
2 years ago
Andy Smith
415af5b0e9
Add qps/HELM_QPS parameter
...
Signed-off-by: Andy Smith <iamasmith.home@gmail.com>
2 years ago
Matt Farina
c372b15022
bump version to v3.13.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 825e86f6a7
)
2 years ago
Matt Farina
dbef83eac3
Merge pull request #10913 from sureshdsk/pluginbug
...
fix: plugin does not load when helm base dir contains space
2 years ago
Matt Farina
70cbaa0a73
Merge pull request #11372 from vovtz/#11369-fix-custom-repo-cache-for-unmanaged-dependency-updates
...
#11369 Fix custom repo index cache directory for unmanaged dependency updates
2 years ago
Matt Farina
ef02cafdd0
Merge pull request #12274 from mih-kopylov/get-metadata
...
Restore `helm get metadata` command
2 years ago
Matt Farina
5a1475ee36
Merge pull request #11294 from Juneezee/test/t.TempDir
...
test: replace `ensure.TempDir` with `t.TempDir`
2 years ago
Joe Julian
e7bb860d9a
Merge pull request #12245 from hiddeco/json-index
...
Add support for creating repository indexes in JSON format
2 years ago
ithrael
e01731d83a
doc:Executing helm rollback release 0 will roll back to the previous release
...
Signed-off-by: ithrael <wh01096045@gmail.com>
2 years ago
Joe Julian
1d2221f9d6
Merge pull request #12290 from Ithrael/fix/helm-rollback-err-tips
...
fix(rollback): helm rollback err tips
2 years ago
Joe Julian
4ff7d90872
Merge remote-tracking branch 'upstream/main' into add-labels-to-install-upgrade
2 years ago
ithrael
ee1cbed608
remove blank
...
Signed-off-by: ithrael <wh01096045@gmail.com>
2 years ago
ithrael
0eb3df676c
add blank
...
Signed-off-by: ithrael <wh01096045@gmail.com>
2 years ago
ithrael
0688046df6
add rollback unit test
...
Signed-off-by: ithrael <wh01096045@gmail.com>
2 years ago
Joe Julian
d9e0688640
Merge remote-tracking branch 'upstream/main' into fix-10566
2 years ago
Joe Julian
977f864e93
Merge remote-tracking branch 'upstream/main' into patch-1
2 years ago
suzaku
48dbda2fa8
Fix #3352 , add support for --ignore-not-found just like kubectl delete
...
Signed-off-by: suzaku <satorulogic@gmail.com>
2 years ago