Sanskar Jaiswal
6defb96dac
oci: add tests for plain HTTP and insecure HTTPS registries
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
1 year ago
Sanskar Jaiswal
2538b927a7
oci: Add flag `--plain-http` to enable working with HTTP registries
...
Add a new flag `--plain-http` to the following commands:
* `helm install`
* `helm pull`
* `helm push`
* `helm template`
* `helm upgrade`
* `helm show`
This flag instructs the registry client to use plain HTTP connections,
thus enabling upload/download of charts from OCI registries served at
an HTTP endpoint.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
1 year ago
Matt Farina
1c4885fce7
Merge pull request #11501 from imanushin/add-test-for-exact-version
...
Add test for exact version selection
1 year ago
Joe Julian
ad1fd058ad
Merge pull request #10602 from hown3d/lowercase-search
...
fix(search): print repo search result in original case
2 years ago
Matt Farina
32fc79dc47
Merge pull request #12041 from helm/dependabot/go_modules/github.com/lib/pq-1.10.9
...
chore(deps): bump github.com/lib/pq from 1.10.7 to 1.10.9
2 years ago
Joe Julian
d7805e68ae
Merge pull request #11455 from ksankeerth/dev-11451
...
Strict file permissions for repository.yaml
2 years ago
Joe Julian
27cd772913
Merge pull request #12096 from joejulian/client-go
...
update kubernetes dependencies from v0.27.0 to v0.27.1
2 years ago
Joe Julian
54ca3a82c2
update kubernetes dependencies from v0.27.0 to v0.27.1
...
Signed-off-by: Joe Julian <me@joejulian.name>
2 years ago
Joe Julian
49805f09b5
Merge branch 'main' into lowercase-search
...
Signed-off-by: Joe Julian <me@joejulian.name>
2 years ago
Joe Julian
2398830f18
Merge pull request #12067 from joejulian/fix_TestTemplateCmd_failure
...
tests: change crd golden file to match after #11870
2 years ago
Joe Julian
126e4f4af8
tests: change crd golden file to match after #11870
...
Signed-off-by: Joe Julian <me@joejulian.name>
2 years ago
Joe Julian
17beedb49c
Merge pull request #11870 from cbodonnell/main
...
full source path for CRDs when output-dir is not provided
2 years ago
Matt Farina
e02738c520
Merge pull request #12059 from joejulian/joe_maintainer
...
move Joe Julian to maintainer
2 years ago
Joe Julian
a8cd2812c0
move Joe Julian to maintainer
...
Signed-off-by: Joe Julian <me@joejulian.name>
2 years ago
Matt Farina
14047fed6f
Merge pull request #12042 from helm/dependabot/go_modules/github.com/Masterminds/squirrel-1.5.4
...
chore(deps): bump github.com/Masterminds/squirrel from 1.5.3 to 1.5.4
2 years ago
dependabot[bot]
2098f606aa
chore(deps): bump github.com/Masterminds/squirrel from 1.5.3 to 1.5.4
...
Bumps [github.com/Masterminds/squirrel](https://github.com/Masterminds/squirrel ) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/Masterminds/squirrel/releases )
- [Commits](https://github.com/Masterminds/squirrel/compare/v1.5.3...v1.5.4 )
---
updated-dependencies:
- dependency-name: github.com/Masterminds/squirrel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Matt Farina
2ac29530e0
Merge pull request #12039 from helm/dependabot/go_modules/github.com/Masterminds/semver/v3-3.2.1
...
chore(deps): bump github.com/Masterminds/semver/v3 from 3.2.0 to 3.2.1
2 years ago
Matt Farina
23bb4b2382
Merge pull request #12034 from mattfarina/update-maintainers
...
Updating the Helm maintainers
2 years ago
dependabot[bot]
b750ee699e
chore(deps): bump github.com/lib/pq from 1.10.7 to 1.10.9
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.7 to 1.10.9.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.7...v1.10.9 )
---
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>
2 years ago
dependabot[bot]
1a7981a3ec
chore(deps): bump github.com/Masterminds/semver/v3 from 3.2.0 to 3.2.1
...
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver ) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/Masterminds/semver/releases )
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Masterminds/semver/compare/v3.2.0...v3.2.1 )
---
updated-dependencies:
- dependency-name: github.com/Masterminds/semver/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Matt Farina
b4b629c3c2
Merge pull request #11204 from sabre1041/oci-annotations
...
Attach annotations to OCI artifacts
2 years ago
Matt Farina
b81428919b
Merge pull request #12015 from yann-soubeyrand/bump-k8s-io-deps
...
chore: bump k8s.io dependencies to v0.27.1
2 years ago
Andrew Block
f900e9f1b1
Attach annotations to OCI artifacts
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
2 years ago
Matt Farina
01dabe5312
Merge pull request #11948 from wujunwei/fix-failed-testcase-on-windows
...
fix: failed testcase on windows
2 years ago
Matt Farina
9705369da6
Merge pull request #11973 from joejulian/quiet_lint
...
fail quiet linting when an error occurs
2 years ago
Matt Farina
0833318b32
Merge pull request #9182 from pscheid92/4030-provide-literal-alternative-for-set-flag
...
Provide an alternative for --set and/or --set-string to take a value literally
2 years ago
Yann Soubeyrand
bdd56569ea
chore: bump k8s.io dependencies to v0.27.1
...
Signed-off-by: Yann Soubeyrand <yann.soubeyrand@gmx.fr>
2 years ago
Matt Farina
3b74c13768
Merge pull request #11479 from MichaelMorrisEst/cascade
...
Add option to support foreground cascade deletion
2 years ago
Matt Farina
82e132ca1c
Updating the Helm maintainers
...
These maintainers have made tremendous contributions but are
currently inactive. I have connected with each of them and they
are focused on other work, at present. They all confirmed moving
to an emeritus status. If they ever want to return to active
development/maintainer-ship of Helm, I would be delighted.
The governance has a process for inactive folks and, as there are
items that need to be voted on, inactive maintainer make decision
making difficult.
These maintainers are and will continue to be missed.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Tom Wieczorek
b9361407a3
Bump k8s.io deps from v0.26.0 to v0.27.0
...
Adapt to changes in 1.27 client libs:
* The OpenAPIGetter method is now private, but the Validator method does
what is needed instead.
* The function wait.PollImmediateUntil is deprecated. Switch to the
recommended new function wait.PollUntilContextCancel.
Related dependency changes:
change k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 => v0.0.0-20230308215209-15aac26d736a
And some transitive version changes:
add github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0
add github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1
remove github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153
github.com/go-errors/errors v1.0.1 => v1.4.2
github.com/go-openapi/jsonpointer v0.19.5 => v0.19.6
github.com/go-openapi/jsonreference v0.20.0 => v0.20.1
github.com/go-openapi/swag v0.19.14 => v0.22.3
github.com/golang/protobuf v1.5.2 => v1.5.3
github.com/mailru/easyjson v0.7.6 => v0.7.7
github.com/onsi/ginkgo/v2 v2.4.0 => v2.9.1
github.com/onsi/gomega v1.23.0 => v1.27.4
github.com/rogpeppe/go-internal v1.9.0 => v1.10.0
golang.org/x/mod v0.8.0 => v0.9.0
golang.org/x/net v0.7.0 => v0.8.0
golang.org/x/term v0.5.0 => v0.6.0
golang.org/x/tools v0.6.0 => v0.7.0
gotest.tools/v3 v3.0.3 => v3.4.0
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 => v0.0.0-20221116044647-bc3834ca7abd
sigs.k8s.io/kustomize/api v0.12.1 => v0.13.2
sigs.k8s.io/kustomize/kyaml v0.13.9 => v0.14.1
Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
2 years ago
Matt Farina
e63083492b
Merge pull request #11985 from mattfarina/only-test-once
...
Only run tests once
2 years ago
Matt Farina
3232493514
Only run tests once
...
Tests are being run twice in CI. Once with code coverage being
report and once without. Tests only need to be run once.
When Helm previously had testing in CircleCI it was the code
coverage tests so that was retained here.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Andrew Block
0a6d0b8be9
Merge pull request #11980 from helm/dependabot/go_modules/golang.org/x/text-0.9.0
...
chore(deps): bump golang.org/x/text from 0.7.0 to 0.9.0
2 years ago
Matt Farina
cf3d2531a8
Merge pull request #11898 from willzgli/waitbatchPerform
...
Fix goroutine leak in perform
2 years ago
Matt Farina
e92509f63e
Merge pull request #11978 from mattfarina/fix-11805
...
Fix goroutine leak in action install
2 years ago
dependabot[bot]
be14682da5
chore(deps): bump golang.org/x/text from 0.7.0 to 0.9.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.7.0...v0.9.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>
2 years ago
Matt Farina
7c9d636f40
Fix goroutine leak in action install
...
During the install process there was a place where an install
process could be stuck trying to write to a channel. This would
happen when a context had completed prior to performInstall
finishing. In a short running Helm Client this was not a problem.
But, for long running applications that use Helm as an SDK there
are problems where a memory leak ends up happening due to
goroutines never being able to complete.
This fix provides a means for performInstall to write to its
channel using the method already used to fix the upgrade
issue of the same kind.
Fixes #11805
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Matt Farina
10587613cf
Merge pull request #11949 from dirkmueller/goarches
...
Fix 32bit-x86 typo in testsuite
2 years ago
Matt Farina
8c4c635e9e
Merge pull request #11832 from my-git9/chore-httpstatus
...
chore:Use http constants as http.request parameters
2 years ago
Joe Julian
853c18002f
fix quiet lint does not fail on non-linting errors
...
Signed-off-by: Joe Julian <me@joejulian.name>
2 years ago
Joe Julian
f13fa07793
create failing test for quietly linting a chart that doesn't exist
...
Signed-off-by: Joe Julian <me@joejulian.name>
2 years ago
Matt Farina
4b3a1cc665
Merge pull request #11966 from helm/dependabot/go_modules/github.com/docker/docker-20.10.24incompatible
...
chore(deps): bump github.com/docker/docker from 20.10.21+incompatible to 20.10.24+incompatible
2 years ago
Matt Farina
47b2a85661
Merge pull request #11901 from helm/dependabot/go_modules/github.com/containerd/containerd-1.7.0
...
chore(deps): bump github.com/containerd/containerd from 1.6.15 to 1.7.0
2 years ago
dependabot[bot]
aba9bd6833
chore(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.21+incompatible to 20.10.24+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v20.10.21...v20.10.24 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Aman Nijhawan
eea2f27bab
Fixes Readiness Check for statefulsets using partitioned rolling update. ( #11774 )
...
* Fixes Readiness Check for statefulsets using partitioned rolling update.
Fixes #11773
This change updates readiness check in ready.go to correctly
account for statefulsets that are utilizing a partitioned upgrade.
These statefulsets only upgrade a subset of the managed pods with each call
to helm upgrade. This causes the upgrade to legitimately hit the condition where
sts.status.CurrentRevision != sts.Status.UpdateRevision which causes helm to mark
the upgrade has failed when in fact it is successful.
This change fixes that behavior to only check when partition is unspecified or 0.
Signed-off-by: Aman Nijhawan <anijhawan@yugabyte.com>
* Adding a unit test to verify that partitioned rolling upgrade for a statefulset works.
Signed-off-by: Aman Nijhawan <anijhawan@yugabyte.com>
---------
Signed-off-by: Aman Nijhawan <anijhawan@yugabyte.com>
Co-authored-by: Aman Nijhawan <anijhawan@yugabyte.com>
2 years ago
wujunwei
878e962b23
fix: failed testcase on windows
...
Signed-off-by: wujunwei <wjw3323@live.com>
2 years ago
Dirk Müller
1fc8369356
Fix 32bit-x86 typo in testsuite
...
The GOARCH here is 386 not i386. This caused a slightly odd test
suite failure on that architecture:
--- FAIL: TestPlatformPrepareCommand (0.00s)
plugin_test.go:45: Expected arg="os-arch", got "linux-s390x"
plugin_test.go:64: Expected arg="os-arch", got "linux-s390x"
Signed-off-by: Dirk Müller <dirk@dmllr.de>
2 years ago
dependabot[bot]
3994329aae
chore(deps): bump github.com/containerd/containerd from 1.6.15 to 1.7.0
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.15 to 1.7.0.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.15...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Matt Farina
952708b436
Merge pull request #11896 from mattfarina/go-1.20
...
Bump the Go version
2 years ago
Matt Farina
046646c944
Handle failed DNS case for Go 1.20+
...
Go 1.20 introduced DNS/CNAME handling changes. This can cause an
IP address represented in hex, oct, etc to be looked up as DNS and
fail. This change introduces a mock DNS resolver.
Note, with the mock resolver, we don't need to use 0x7f000001 any
longer. Keeping because it was already there.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago