Daniel J. Pritchett
1a37b28014
Adds ability to ignore result.Errors
2 years ago
Danilo Patrucco
47d5c824ed
merge master updates
...
Signed-off-by: Danilo Patrucco <danilo.patrucco@gmail.com>
2 years ago
Joe Julian
4278ada158
Merge pull request #13085 from alex-kattathra-johnson/issue-12961
...
Fix race condition in TestInstallRelease_Wait_Interrupted test
2 years 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
2 years ago
Joe Julian
cda2c4f802
Merge pull request #12924 from porridge/drop-apis
...
Drop unused field.
2 years ago
Danilo Patrucco
d489d78531
remove extra file
...
Signed-off-by: Danilo Patrucco <danilo.patrucco@gmail.com>
2 years ago
Danilo Patrucco
549082379c
test fix
...
Signed-off-by: Danilo Patrucco <danilo.patrucco@gmail.com>
2 years ago
Danilo Patrucco
3a0140552d
fix string value
...
Signed-off-by: Danilo Patrucco <danilo.patrucco@gmail.com>
2 years ago
Danilo Patrucco
cf7eb83155
fix import missing
...
Signed-off-by: Danilo Patrucco <danilo.patrucco@gmail.com>
2 years ago
Danilo Patrucco
8cf9e82063
fixed issues in the lint action script
...
Signed-off-by: Danilo Patrucco <danilo.patrucco@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
Matt Farina
a753ee7f43
Merge pull request #12866 from robertsirc/Correcting-Linting-Errors
...
Correcting linting errors
3 years ago
Marcin Owsiany
a6863a64ce
Drop unused field.
...
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
3 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>
3 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>
3 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>
3 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>
3 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
3 years ago
Matt Farina
c682fdfebf
Merge pull request #12539 from chojnack/main
...
Fixing release labelling in rollback
3 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'
3 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>
3 years ago
Miles Wilson
0c541398f2
Added support for hiding notes from install/upgrade output
...
Signed-off-by: Miles Wilson <wilson.mil@icloud.com>
3 years ago
b4nks
f004d42847
remove useless print during prepareUpgrade
...
Signed-off-by: b4nks <b4nks@protonmail.com>
3 years ago
Michał Słapek
169561a1b3
Fix leaking goroutines in Install
...
Signed-off-by: Michał Słapek <28485371+mslapek@users.noreply.github.com>
3 years ago
Matt Farina
ef02cafdd0
Merge pull request #12274 from mih-kopylov/get-metadata
...
Restore `helm get metadata` command
3 years ago
Matt Farina
5a1475ee36
Merge pull request #11294 from Juneezee/test/t.TempDir
...
test: replace `ensure.TempDir` with `t.TempDir`
3 years ago
Joe Julian
1d2221f9d6
Merge pull request #12290 from Ithrael/fix/helm-rollback-err-tips
...
fix(rollback): helm rollback err tips
3 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
3 years ago
Joe Julian
4ff7d90872
Merge remote-tracking branch 'upstream/main' into add-labels-to-install-upgrade
3 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>
3 years ago
ithrael
db9460cc87
fix: helm rollback err tips
...
Signed-off-by: ithrael <wh01096045@gmail.com>
3 years ago
Joe Julian
d9e0688640
Merge remote-tracking branch 'upstream/main' into fix-10566
3 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
3 years ago
Joe Julian
4b28d7b08d
Merge remote-tracking branch 'upstream/main' into fix1
3 years ago
satoru
5b08985138
goimports
...
Signed-off-by: satoru <satorulogic@gmail.com>
3 years ago
suzaku
48dbda2fa8
Fix #3352 , add support for --ignore-not-found just like kubectl delete
...
Signed-off-by: suzaku <satorulogic@gmail.com>
3 years ago
Joe Julian
b30d7152b7
Merge remote-tracking branch 'upstream/main' into feat/reset-then-reuse-flag
3 years ago
Mikhail Kopylov
0b5e9d37c8
Restore `helm get metadata` command
...
Signed-off-by: Mikhail Kopylov <mih.kopylov@yandex.ru>
3 years ago
Joe Julian
e8e6da28d1
Revert "Add `helm get metadata` command"
...
Signed-off-by: Joe Julian <me@joejulian.name>
3 years ago
Joe Julian
7de6d7f162
Merge branch 'main' into feat/reset-then-reuse-flag
...
Signed-off-by: Joe Julian <me@joejulian.name>
3 years ago
Joe Julian
b12139a6ec
Merge pull request #11586 from jmhbnz/main
...
Remove warning for template directory not found
3 years ago
Joe Julian
847d2bb3c6
Merge pull request #11631 from mih-kopylov/get-metadata
...
Add `helm get metadata` command
3 years ago
Scott Rigby
7d190be0d0
Merge pull request #12128 from aryan9600/plain-http
...
oci: Add flag --plain-http to enable working with HTTP registries
3 years ago
Dmitry Chepurovskiy
735ff8f92c
Update pkg/action/install.go
...
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
3 years ago
Eng Zer Jun
2ceebffc77
test: replace `ensure.TempDir` with `t.TempDir`
...
This commit replaces `ensure.TempDir` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using `ensure.TempDir`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but `t.TempDir` handles this for us nicely.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Matt Farina
343389856b
Merge pull request #12162 from mattfarina/fix-merge-values-ugh
...
Fix multiple bugs in values handling
3 years ago
Dmitry Chepurovskiy
7b13ac9914
Added error in case try to supply custom label with name of system label during install/upgrade
...
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
3 years ago
Matt Farina
96e33e2773
Tweaking new dry-run internal handling
...
There are a few changes to the new dry-run handling:
1. Some documentation is added to help clarify what is happening
and what is expected.
2. DryRun is never changed by internal handling. If an API user
sets the property it is not changed by our code.
3. The behavior on contacting the server with false/none is made
consistent between install and upgrade.
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago