Dmitry Chepurovskiy
735ff8f92c
Update pkg/action/install.go
...
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
1 year 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>
1 year ago
dependabot[bot]
95ba0c6953
chore(deps): bump github/codeql-action from 2.21.0 to 2.21.2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.0 to 2.21.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](1813ca74c3...0ba4244466
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Matt Farina
343389856b
Merge pull request #12162 from mattfarina/fix-merge-values-ugh
...
Fix multiple bugs in values handling
1 year ago
shoce
9d038a223f
use json api url + report curl/wget error on fail
...
Signed-off-by: shoce <yogze@icloud.com>
1 year 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>
1 year ago
Matt Farina
e8a748d300
Updated per feedback from gjenkins8
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
1 year ago
Joe Julian
ca61c326c2
Merge pull request #11758 from joejulian/remove_blank_list_item_from_files_lines
...
strip trailing newline from Files.Lines
1 year ago
Matt Farina
39231e26d7
Merge pull request #12222 from helm/dependabot/go_modules/github.com/sirupsen/logrus-1.9.3
...
chore(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3
1 year ago
cuisongliu
4a27baaffc
fix(main): fix basic auth for helm pull or push
...
Signed-off-by: cuisongliu <cuisongliu@qq.com>
1 year ago
dependabot[bot]
48cf02b57f
chore(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.0 to 1.9.3.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.3 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Matt Farina
f099c2e883
Merge pull request #12224 from helm/dependabot/go_modules/github.com/stretchr/testify-1.8.4
...
chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4
1 year ago
Hidde Beydals
2544aa23a3
cmd: support generating index in JSON format
...
This adds support for generating the repository index file in JSON
format using the `--json` flag. The index itself is still written
to `index.yaml`, which is fully backwards compatible as YAML is a
superset of JSON.
For big indexes (think multiple megabytes), this approach is however
more efficient in combination with the changes to the load logic,
as it prevents a YAML -> JSON roundtrip during decoding.
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
1 year ago
Hidde Beydals
e21c9cf7e2
repo: detect JSON and unmarshal efficiently
...
When an index is in a JSON format, the `sigs.k8s.io/yaml` package uses
an inefficient approach to unmarshaling the data, as it does an
unnecessary roundtrip on the data to transform the YAML to valid JSON.
To prevent this from happening, detect if the bytes which we attempt
to load contain valid JSON, and unmarshal them directly using
`json.Unmarshal` instead.
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
1 year ago
Joe Julian
a50206fed2
Merge pull request #12243 from mattfarina/tweak-dry-run
...
Tweaking new dry-run internal handling
1 year 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>
1 year ago
Matt Farina
838b12191e
Merge pull request #9426 from tapaskapadia/feat/lookup-dryrun
...
feat(helm): add ability for --dry-run to do lookup functions
1 year ago
Matt Farina
f2a0ceb9a6
Merge pull request #12240 from helm/dependabot/github_actions/github/codeql-action-2.21.0
...
chore(deps): bump github/codeql-action from 2.20.3 to 2.21.0
1 year ago
dependabot[bot]
2e22395667
chore(deps): bump github/codeql-action from 2.20.3 to 2.21.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.20.3 to 2.21.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](46ed16ded9...1813ca74c3
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Stefan McShane
1a3e9a95dd
addressing comment
...
Signed-off-by: Stefan McShane <stefanmcshane@users.noreply.github.com>
1 year ago
dependabot[bot]
7d0deb35d9
chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Joe Julian
32c7e37e32
Merge pull request #12215 from joejulian/bump_k8s_modules
...
bump kubernetes modules to v0.27.3
1 year ago
dependabot[bot]
f11e2dac8d
chore(deps): bump github.com/BurntSushi/toml from 1.2.1 to 1.3.2
...
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml ) from 1.2.1 to 1.3.2.
- [Release notes](https://github.com/BurntSushi/toml/releases )
- [Commits](https://github.com/BurntSushi/toml/compare/v1.2.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
ef0f3e5c51
chore(deps): bump github.com/opencontainers/image-spec
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc4.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc4 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Joe Julian
9c4f73332d
bump kubernetes modules to v0.27.3
...
Signed-off-by: Joe Julian <me@joejulian.name>
1 year ago
dependabot[bot]
f9e5db39c9
chore(deps): bump actions/checkout from 3.2.0 to 3.5.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.2.0 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](755da8c3cf...c85c95e3d7
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
MichaelMorris
d2cf8c66f1
Updated for review comments
...
Signed-off-by: MichaelMorris <michael.morris@est.tech>
1 year ago
Joe Julian
4a9fc851ff
Merge pull request #12198 from helm/dependabot/go_modules/github.com/spf13/cobra-1.7.0
...
chore(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0
1 year ago
Joe Julian
a3e5b33963
Merge pull request #12209 from helm/dependabot/github_actions/actions/setup-go-4.0.1
...
chore(deps): bump actions/setup-go from 3.5.0 to 4.0.1
1 year ago
Joe Julian
d6a5ee7d9b
Merge pull request #12208 from helm/dependabot/github_actions/github/codeql-action-2.20.3
...
chore(deps): bump github/codeql-action from 2.1.37 to 2.20.3
1 year ago
dependabot[bot]
6e2bddde6a
chore(deps): bump actions/setup-go from 3.5.0 to 4.0.1
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3.5.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](6edd4406fa...fac708d667
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
31e9e54265
chore(deps): bump github/codeql-action from 2.1.37 to 2.20.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.1.37 to 2.20.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](959cbb7472...46ed16ded9
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Joe Julian
a2d6ca748e
Merge pull request #11498 from ashishkurmi/main
...
Update dependabot config to include github actions
1 year ago
MichaelMorris
fc74964f8a
Add robustness to wait status checks
...
When a user specifies --wait for an install or upgrade this commit will enable the user to specifiy a number of retries to attepmt if a status check fails
Errors including a HTTP status code < 500 will not be retried
Signed-off-by: MichaelMorris <michael.morris@est.tech>
1 year ago
Joe Julian
99e1dce8c8
Merge pull request #9950 from jeffrosenberg/error-on-failed-jobs-9285
...
Throw an error from jobReady() if the job exceeds its BackoffLimit
1 year ago
Joe Julian
8554d518d5
Merge pull request #10397 from mtesseract/mc/fix-err-message-on-existing-resource-conflict
...
Adjust error message wrongly claiming that there is a resource conflict
1 year ago
Antony Chazapis
786707c065
Add support for RISC-V
...
Signed-off-by: Antony Chazapis <chazapis@ics.forth.gr>
1 year ago
Joe Julian
14d363669f
Merge pull request #11529 from wujunwei/fix-update-dependency-panic
...
bugfix: SIGSEGV with OCI chart reference using helm template
1 year ago
dependabot[bot]
87cbd34280
chore(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Joe Julian
b15cbd3683
Merge pull request #12185 from helm/dependabot/go_modules/golang.org/x/crypto-0.11.0
...
chore(deps): bump golang.org/x/crypto from 0.5.0 to 0.11.0
1 year ago
Joe Julian
ec1d0d8671
Merge pull request #11456 from greed42/tpl-tests
...
Backfill tests for the `tpl` function
1 year ago
Joe Julian
e4a3350e2b
Merge pull request #12194 from helm/dependabot/go_modules/github.com/docker/docker-23.0.3incompatible
...
chore(deps): bump github.com/docker/docker from 23.0.1+incompatible to 23.0.3+incompatible
1 year ago
dependabot[bot]
91a3f73b0e
chore(deps): bump golang.org/x/crypto from 0.5.0 to 0.11.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.5.0 to 0.11.0.
- [Commits](https://github.com/golang/crypto/compare/v0.5.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Joe Julian
b9422736fd
Merge pull request #12200 from helm/dependabot/go_modules/golang.org/x/text-0.11.0
...
chore(deps): bump golang.org/x/text from 0.9.0 to 0.11.0
1 year ago
Joe Julian
1f1a5b2eb8
Merge pull request #12037 from helm/dependabot/go_modules/k8s.io/klog/v2-2.100.1
...
chore(deps): bump k8s.io/klog/v2 from 2.90.1 to 2.100.1
1 year ago
dependabot[bot]
0ff4b746ea
chore(deps): bump golang.org/x/text from 0.9.0 to 0.11.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.9.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
b1fe927dc5
chore(deps): bump k8s.io/klog/v2 from 2.90.1 to 2.100.1
...
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog ) from 2.90.1 to 2.100.1.
- [Release notes](https://github.com/kubernetes/klog/releases )
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md )
- [Commits](https://github.com/kubernetes/klog/compare/v2.90.1...v2.100.1 )
---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Joe Julian
794f3b781c
Merge pull request #12165 from helm/dependabot/go_modules/github.com/rubenv/sql-migrate-1.5.1
...
chore(deps): bump github.com/rubenv/sql-migrate from 1.3.1 to 1.5.1
1 year ago
dependabot[bot]
b262738f9c
chore(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.1+incompatible to 23.0.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.1...v23.0.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Joe Julian
7ccb4ede6c
Merge pull request #12149 from helm/dependabot/go_modules/oras.land/oras-go-1.2.3
...
chore(deps): bump oras.land/oras-go from 1.2.2 to 1.2.3
1 year ago