Matt Farina
41b6273682
Merge pull request #13483 from banjoh/em/password-to-oci-registries-v3
...
fix(helm): pass down username/password CLI parameters to OCI registry clients (v3 backport)
1 year ago
Evans Mungai
7a22dd28d1
Rename CAFile to CaFile for consistency
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
Suleiman Dibirov
f4f4a6b81f
fix(hooks): correct hooks delete order
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
1 year ago
wangjingcun
de9e138ec1
chore: fix some function names in comment
...
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
1 year ago
Evans Mungai
323f88950a
Merge remote-tracking branch 'origin/main' into em/password-to-oci-registries
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
Scott Rigby
8a26add23f
Fix linting error for pr 12876
...
golangci-lint passed when last commit was made on #12876 , but has since failed.
This is probably because the linter has since updated.
I ran locally with the same version of golangci-lint we run in GH Actions, and
this is the only error now (an additional linting error in
pkg/action/package.go since #12876 has already been fixed.
```sh
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.58.1
./bin/golangci-lint run pkg/action/...
./bin/golangci-lint run ./...
```
we should be good now.
Signed-off-by: Scott Rigby <scott@r6by.com>
1 year ago
Matt Farina
c261d0655c
Merge pull request #12876 from manno/sdk-ignore-missing-annotations
...
Allow install, update action to adopt existing resources (sdk only)
1 year ago
Scott Rigby
f0442777bb
Merge pull request #12743 from anessi/feat/skip-schema-validation
...
feat(helm): add --skip-schema-validation flag to helm 'install', 'uprade' and 'lint'
1 year ago
Evans Mungai
0687961da4
Revert CAFile rename breaking change
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
Joe Julian
4278ada158
Merge pull request #13085 from alex-kattathra-johnson/issue-12961
...
Fix race condition in TestInstallRelease_Wait_Interrupted test
1 year ago
Joe Julian
15e36139c1
Merge pull request #13130 from idsulik/issue-13127
...
fix: update error handling in Configuration.Init method, add tests for the method
1 year ago
Joe Julian
cda2c4f802
Merge pull request #12924 from porridge/drop-apis
...
Drop unused field.
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>
2 years ago
Evans Mungai
12d8d28534
Add username/password to package subcommand
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 years ago
Evans Mungai
837ae4242c
Add username/password to dependency build/update subcommands
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 years ago
Alex Johnson
f69a2dd03e
Fix race condition in TestInstallRelease_Wait_Interrupted test
...
Signed-off-by: Alex Johnson <hello@alex-johnson.net>
2 years ago
Suleiman Dibirov
800c33a5aa
fix: update error handling in Configuration.Init method, add tests for the method
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
2 years ago
Andrew Block
414cf94666
Merge pull request #11600 from miles-w-3/chart-notes
...
Added support for hiding notes from install/upgrade output
2 years ago
Evans Mungai
76c0f297c1
Merge remote-tracking branch 'origin/main' into em/password-to-oci-registries
2 years ago
Matt Farina
a753ee7f43
Merge pull request #12866 from robertsirc/Correcting-Linting-Errors
...
Correcting linting errors
2 years ago
Marcin Owsiany
a6863a64ce
Drop unused field.
...
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
2 years ago
Mario Manno
a7856c0398
Add ability to adopt unmanaged resources
...
Allow the SDK actions to adopt existing resources. This allows install
and update to overwrite resources. If TakeOwnership is not set, adoption
is only possible if they existing resources have the right labels
(managed-by) and annotations (release-name, ...).
Signed-off-by: Mario Manno <mmanno@suse.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
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
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
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
99b8f443d1
Merge pull request #11387 from zak905/fix_post_install_hook_issue
...
fix post install hook deletion due to before-hook-creation policy
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
Miles Wilson
0c541398f2
Added support for hiding notes from install/upgrade output
...
Signed-off-by: Miles Wilson <wilson.mil@icloud.com>
2 years ago
b4nks
f004d42847
remove useless print during prepareUpgrade
...
Signed-off-by: b4nks <b4nks@protonmail.com>
2 years ago
Michał Słapek
169561a1b3
Fix leaking goroutines in Install
...
Signed-off-by: Michał Słapek <28485371+mslapek@users.noreply.github.com>
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
1d2221f9d6
Merge pull request #12290 from Ithrael/fix/helm-rollback-err-tips
...
fix(rollback): helm rollback err tips
2 years ago
Joe Julian
b6c679eb97
Merge pull request #12321 from LuBingtan/dev
...
fix(helm): fix GetPodLogs, the hooks should be sorted before get the logs of each hook
2 years ago
Joe Julian
4ff7d90872
Merge remote-tracking branch 'upstream/main' into add-labels-to-install-upgrade
2 years ago
Bingtan Lu
4e5e68d55c
fix(helm): fix GetPodLogs, the hooks should be sorted before get the logs of each hook
...
Signed-off-by: lubingtan <lubingtan@126.com>
2 years ago
ithrael
db9460cc87
fix: helm rollback err tips
...
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
1a465d603d
Merge pull request #10564 from suzaku/ignore-not-found
...
Closes #3352 , add support for --ignore-not-found just like kubectl delete
2 years ago
Joe Julian
4b28d7b08d
Merge remote-tracking branch 'upstream/main' into fix1
2 years ago
satoru
5b08985138
goimports
...
Signed-off-by: satoru <satorulogic@gmail.com>
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
Joe Julian
b30d7152b7
Merge remote-tracking branch 'upstream/main' into feat/reset-then-reuse-flag
2 years ago
Mikhail Kopylov
0b5e9d37c8
Restore `helm get metadata` command
...
Signed-off-by: Mikhail Kopylov <mih.kopylov@yandex.ru>
2 years ago