Matt Farina
7838fb769d
Fix specifying of Kubernetes version from build scripts
...
This bug came about because of three issues that this change
corrects:
- The CI scripts run on a pull request did not test building
Helm. This means that a failure to set a variable using LDFLAGS
had no opportunity to be caught.
- #8608 provided a means to match the k8s version used in linting
and chartutil with the version of the package we pull in. With
one problem. It attempts to set a const as if it were a string.
This is ignored and everyone missed it.
- #10325 moved those constants to vars so it could be set. This
looked good and passed tests but missed that you can't set an
int as if it were a string. See first bullet.
This change fixes this by moved the internal representation to
be a string. These are internal variables not exposed in the public
API which makes this change non-breaking to the API.
Closes #10367
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
dependabot[bot]
46a643fff4
chore(deps): bump github.com/gofrs/flock from 0.8.0 to 0.8.1
...
Bumps [github.com/gofrs/flock](https://github.com/gofrs/flock ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/gofrs/flock/releases )
- [Commits](https://github.com/gofrs/flock/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: github.com/gofrs/flock
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Matthew Fisher
d31261f47c
Merge pull request #10362 from helm/dependabot/go_modules/github.com/docker/docker-20.10.11incompatible
...
chore(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.11+incompatible
3 years ago
dependabot[bot]
7293ac2388
chore(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.9+incompatible to 20.10.11+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.9...v20.10.11 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Martin Hickey
f86694232b
Merge pull request #10351 from helm/dependabot/go_modules/github.com/lib/pq-1.10.4
...
chore(deps): bump github.com/lib/pq from 1.10.3 to 1.10.4
3 years ago
dependabot[bot]
fdb97665e4
chore(deps): bump github.com/lib/pq from 1.10.3 to 1.10.4
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.3 to 1.10.4.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.3...v1.10.4 )
---
updated-dependencies:
- dependency-name: github.com/lib/pq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Matt Farina
6809070032
Merge pull request #10325 from sboschman/lint-with-ldflags
...
allow ldflags to overwrite k8s version
3 years ago
Josh Dolitsky
a63489ad28
Merge pull request #10294 from joshrwolf/oras-0.5
...
upgrade oras to 0.5.0, refactor client oci logic to use new oras.Copy()
3 years ago
Josh Dolitsky
889c70b729
Add nolint comments
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
f77f93324d
Merge remote-tracking branch 'upstream/main' into oras-0.5
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Martin Hickey
f9a8fc8199
Merge pull request #10347 from hickeyma/fix/signal-notify-use
...
fix(install/upgrade): Use buffered channel for signal notification to avoid signal loss
3 years ago
Josh Dolitsky
3841af9a96
update CI to use Go 1.17
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
b27b5551e0
Merge branch 'main' into oras-0.5
3 years ago
Martin Hickey
ea1b1f5a07
Use buffered channel for signal notification
...
Refer to https://pkg.go.dev/os/signal#Notify for more details.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
3 years ago
Matthew Fisher
3c7a370145
Merge pull request #10313 from brandoncole/main
...
Fixes a SIGSEGV similar to issue 1347
3 years ago
Matthew Fisher
d16ce2d9c9
Merge pull request #10131 from helm/dependabot/go_modules/github.com/BurntSushi/toml-0.4.1
...
Bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1
3 years ago
Matthew Fisher
473cd68eb5
Merge pull request #10268 from helm/dependabot/go_modules/k8s.io/klog/v2-2.30.0
...
chore(deps): bump k8s.io/klog/v2 from 2.9.0 to 2.30.0
3 years ago
Matthew Fisher
27b7cfcddb
Merge pull request #10334 from werf/fix-resource-validation-error
...
fix: added resource info into the validation error
3 years ago
Matthew Fisher
2f43e1d1f7
Merge pull request #10337 from helm/dependabot/go_modules/sigs.k8s.io/yaml-1.3.0
...
chore(deps): bump sigs.k8s.io/yaml from 1.2.0 to 1.3.0
3 years ago
Matthew Fisher
4cb4f089d9
Merge pull request #10302 from centic9/fail_script_get_if_target_dir_is_missing
...
Fail if target-directory does not exist
3 years ago
dependabot[bot]
15a9e141fd
chore(deps): bump sigs.k8s.io/yaml from 1.2.0 to 1.3.0
...
Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/kubernetes-sigs/yaml/releases )
- [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/yaml/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
90b78aead6
chore(deps): bump k8s.io/klog/v2 from 2.9.0 to 2.30.0
...
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog ) from 2.9.0 to 2.30.0.
- [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.9.0...v2.30.0 )
---
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>
3 years ago
Matthew Fisher
9407d779f1
Merge pull request #10332 from dperaza4dustbit/bump_k8_0.22.3
...
Updating to Kubernetes 1.22.3 packages
3 years ago
Timofey Kirillov
7f68bfa1fa
fix: added resource info into the validation error
...
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
3 years ago
David Peraza
fcc5dd7f3b
Updating to Kubernetes 1.22.3 packages
...
Updating go.mod k8s.io packages to v0.22.3
Closes #10330
Signed-off-by: David Peraza <dperaza@redhat.com>
3 years ago
Marc Khouzam
b6a04cfbd5
Add yxxhero as triage maintainer
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
3 years ago
Sverre Boschman
81a373ead5
allow ldflags to overwrite k8s version
...
Signed-off-by: Sverre Boschman <1142569+sboschman@users.noreply.github.com>
3 years ago
Martin Hickey
1278306509
Merge pull request #10271 from stuartdrennan/lint-values-dependencies
...
fix(helm): process dependencies import-values
3 years ago
Martin Hickey
1e98e1bfde
Merge pull request #10311 from bridgetkromhout/add-scott
...
Adding Scott Rigby as helm/helm maintainer
3 years ago
Josh Wolf
fae5009382
ensure error is correctly handled when generating chart's oci manifest
...
Signed-off-by: Josh Wolf <josh@joshwolf.dev>
3 years ago
Josh Wolf
d2d8e52401
modify oci chart push/pull manifest test values to represent new order sorted by oras
...
Signed-off-by: Josh Wolf <josh@joshwolf.dev>
3 years ago
Brandon Cole
fe6f348490
fix a SIGSEGV similar to issue 1347
...
Signed-off-by: Brandon Cole <brandon.cole@datadoghq.com>
3 years ago
Bridget Kromhout
5782c39c37
Adding Scott Rigby as helm/helm maintainer
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
3 years ago
Martin Hickey
39fc522ebb
Merge pull request #10300 from fenggw-fnst/work
...
Fix a golint issue caused by typo
3 years ago
Dominik Stadler
e3e563a318
Fail if target-directory does not exist
...
By specify the binary-name in the copy-operation the
script will fail if the directory does not exist instead
of silently installing the binary with the name of
the directory (e.g. /usr/local/bin)
Closes #10298
Signed-off-by: Dominik Stadler <dominik.stadler@gmx.at>
3 years ago
Guangwen Feng
9b7a45a384
Fix a golint issue caused by typo
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
3 years ago
Josh Wolf
7cec93d9fb
upgrade oras to 0.5.0, refactor client oci logic to use new oras.Copy()
...
Signed-off-by: Josh Wolf <josh@joshwolf.dev>
3 years ago
Josh Dolitsky
dc912094b3
Merge pull request #10290 from tamboliasir1/issue-10242
...
Updated oci format logic
3 years ago
Asir Tamboli
ea49d811bf
Updated oci format logic
...
Signed-off-by: Asir Tamboli <tamboliasir1@gmail.com>
3 years ago
Stuart Drennan
1931b0702d
fix(helm): process dependencies import-values
...
When running helm lint, import-values for dependencies are ignored,
also added test for linting chart with import-values
Closes #9658
Signed-off-by: Stuart Drennan <stuart.drennan@gmail.com>
3 years ago
Matthew Fisher
02685e94bd
Merge pull request #10267 from DanielRussell/update-installer-signed
...
Update installer to reflect new GitHub HTML
3 years ago
Dan Russell
f0f55faac8
Add missing pipe to `wget` variant
...
Signed-off-by: Dan Russell <dpr@aol.com>
3 years ago
Dan Russell
2cf7e1fec4
Update installer to reflect new GitHub HTML
...
Fixes helm/helm#10266
Signed-off-by: Dan Russell <dpr@aol.com>
3 years ago
dependabot[bot]
24303955f8
Bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1
...
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml ) from 0.3.1 to 0.4.1.
- [Release notes](https://github.com/BurntSushi/toml/releases )
- [Commits](https://github.com/BurntSushi/toml/compare/v0.3.1...v0.4.1 )
---
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>
3 years ago
Matthew Fisher
83791fe7c2
Merge pull request #10067 from helm/dependabot/go_modules/github.com/cyphar/filepath-securejoin-0.2.3
...
chore(deps): bump github.com/cyphar/filepath-securejoin from 0.2.2 to 0.2.3
3 years ago
Matthew Fisher
b44b4ba327
Merge pull request #9704 from helm/dependabot/go_modules/github.com/jmoiron/sqlx-1.3.4
...
chore(deps): Bump github.com/jmoiron/sqlx from 1.3.1 to 1.3.4
3 years ago
dependabot[bot]
5b2805b5f6
chore(deps): bump github.com/cyphar/filepath-securejoin
...
Bumps [github.com/cyphar/filepath-securejoin](https://github.com/cyphar/filepath-securejoin ) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/cyphar/filepath-securejoin/releases )
- [Commits](https://github.com/cyphar/filepath-securejoin/compare/v0.2.2...v0.2.3 )
---
updated-dependencies:
- dependency-name: github.com/cyphar/filepath-securejoin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Martin Hickey
f41f46c6c6
Merge pull request #10213 from helm/dependabot/go_modules/github.com/containerd/containerd-1.5.7
...
Bump github.com/containerd/containerd from 1.5.4 to 1.5.7
3 years ago
Matt Farina
81f0df0ea6
Merge pull request #10182 from spectrocloud/oci-allow-any-media-type
...
changes to support any mediatype for layers on download
3 years ago
yxxhero
0d3289eb0b
add unittest for SetNamespace method
...
Signed-off-by: yxxhero <aiopsclub@163.com>
3 years ago