Matt Farina
b880fc5c0f
Bumping kubernetes to 1.20.1
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matt Farina
fb0345a07f
Updating to sprig 3.2.0
...
Note, randInt is now a function in sprig so the failing test needed
to be updated to a function that does not exist.
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matt Farina
363fb1edf1
Updating to Kuberentes 1.20 packages
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
dependabot[bot]
21078d4794
Bump github.com/Masterminds/semver/v3 from 3.1.0 to 3.1.1 ( #9109 )
...
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver ) from 3.1.0 to 3.1.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.1.0...v3.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
a9e2380569
Bump github.com/containerd/containerd from 1.3.4 to 1.4.3
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.3.4 to 1.4.3.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/master/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.3.4...v1.4.3 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
87ed57b5e0
Bump github.com/Masterminds/squirrel from 1.4.0 to 1.5.0 ( #9108 )
...
Bumps [github.com/Masterminds/squirrel](https://github.com/Masterminds/squirrel ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/Masterminds/squirrel/releases )
- [Commits](https://github.com/Masterminds/squirrel/compare/v1.4.0...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
937d688f5c
Bump github.com/lib/pq from 1.8.0 to 1.9.0 ( #9107 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.8.0...v1.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Peter Engelbert
3028c55858
Clean up imports and add doc comments
...
Additionally, revert `NewPull()` to its existing signature.
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
4 years ago
Matt Farina
7c4e0b17df
Updating to Kubernetes 1.19.4 package versions
...
Note, klog is now set to v2. This is because k8s 1.19 uses klog v2.
v1.0.0, which was previously used, also had a bug in the flag
initialization which we were using. Helm was pulling klog v2.2.0
prior to this for use with k8s. Helm was using the wrong version
of the library to initialize the flags. Updating that fixes the
issues that could arise there.
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matt Farina
e413c34dde
Updating to k8s 1.19.3 based packages
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
dependabot[bot]
713ec751a3
Bump github.com/spf13/cobra from 1.0.0 to 1.1.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Matt Farina
e17500018e
Merge pull request #8824 from helm/dependabot/go_modules/github.com/sirupsen/logrus-1.7.0
...
Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
4 years ago
dependabot[bot]
b08c7d2429
Bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0
...
Bumps [github.com/DATA-DOG/go-sqlmock](https://github.com/DATA-DOG/go-sqlmock ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/DATA-DOG/go-sqlmock/releases )
- [Commits](https://github.com/DATA-DOG/go-sqlmock/compare/v1.4.1...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
2bc79d3294
Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.6.0 to 1.7.0.
- [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.6.0...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Matt Farina
c215782436
Merge pull request #8817 from helm/dependabot/go_modules/github.com/lib/pq-1.8.0
...
Bump github.com/lib/pq from 1.7.0 to 1.8.0
4 years ago
dependabot[bot]
253a9500d7
Bump github.com/gofrs/flock from 0.7.1 to 0.8.0
...
Bumps [github.com/gofrs/flock](https://github.com/gofrs/flock ) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/gofrs/flock/releases )
- [Commits](https://github.com/gofrs/flock/compare/v0.7.1...v0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
a6e76cbbbe
Bump github.com/lib/pq from 1.7.0 to 1.8.0
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.7.0...v1.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Matt Farina
b7c38c879a
Adding support for k8s 1.19
...
Closes #8806
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
lemonli
3baaace868
Update go version to 1.14 in go.mod
...
Signed-off-by: lemonli <liwenjun0323@gmail.com>
4 years ago
Matt Butcher
96d9ab9663
fix name length check on lint ( #8543 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Maartje Eyskens
065b7f6e25
Bump Kubernetes to v0.18.8 + Bump jsonpatch
...
jsonpatch now is the same version as used in Kubernetes v0.18.8
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
4 years ago
Matthew Fisher
148d94bcf7
version bump
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
4 years ago
Matthew Fisher
75aa425bfc
bump to kubernetes 1.18.2
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Elliot Maincourt
21d2aa7f2b
Migrate SQL storage driver to Helm 3 ( #7635 )
...
* Migrate SQL storage driver to Helm 3
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Update pkg/storage/driver/sql.go
Co-Authored-By: Sebastian Pöhn <sebastian.poehn@gmail.com>
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Add authentication to releases_v3
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Fix migration
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Template the init migration
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Prevent potential SQL injection
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Use an SQL querybuilder
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Remove references to HELM_DRIVER_SQL_DIALECT
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
Co-authored-by: Sebastian Pöhn <sebastian.poehn@gmail.com>
Co-authored-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Farina
3b8521c1f0
Updating sprig and semver to newer versions
...
Note, there is an issue with a dependency of sprig changing
behavior. A test has been added with a description to catch if a
behavior breaking change of mergo is used.
See https://github.com/imdario/mergo/issues/139 for the mergo
issue and sprig for further details on handling this in the
future.
Closes #7533
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Marc Khouzam
a806326d18
feat(cmd/helm): Update Cobra to 1.0.0 release
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Adam Reese
c2da4fd53d
ref(*): kubernetes v1.18 ( #7831 )
...
Upgrade Kubernetes libraries to v0.18.0
Add new lazy load KubernetesClientSet to avoid missing kubeconfig error
In kubernetes v1.18 kubeconfig validation was added. Minikube and Kind
both remove kubeconfig when stopping clusters. This causes and error
when running any helm commands because we initialize the client before
executing the command.
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Matthew Fisher
187526eb13
chore(go.mod): run `go mod tidy`
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matt Butcher
16024dc19a
fix: add new static linter and fix issues it found ( #7655 )
...
* fix: add new static linter and fix issues it found
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* fixed two additional linter errors.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Adam Reese
c235470e59
fix(cmd/helm): upgrade go-shellwords
...
Removes workaround introduced in #7323
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Rui Chen
2a74212991
ref(go.mod): k8s api 0.17.3
...
Signed-off-by: Rui Chen <chenrui333@gmail.com>
5 years ago
Josh Dolitsky
7ce29e12fa
ref(go.mod): oras v0.8.1 ( #6862 )
...
* ref(go.mod): oras v0.8.1
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
* update various module versions
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
* upgrade oras v0.8.1
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
* upgrade to oras 0.8.1 release
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
* lock to oras release (0.8.1)
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
5 years ago
Martin Hickey
45d986327a
Tidy up go dependencies ( #7494 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Lee Bontecou
e483dce289
fix(template): helm template "--show-only" flag producing duplicates when flag used more than once ( #7204 )
...
* bugfix template show-only duplicates
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* 7203 - add unittests
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* attempt formatting fix
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* gofmt-ed with -s
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* goimports-ed with -local helm.sh/helm/v3 and gofmt-ed with -s -w
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* Update template_test.go
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* Update template_test.go
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
5 years ago
Joe Lanford
c365c8dcdc
go.mod,go.sum: bump to k8s v1.17.1
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
5 years ago
Joe Lanford
6f11334d61
go.mod,go.sum: bump Kubernetes dependencies 1.17.0
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
5 years ago
Matthew Fisher
ff0257de29
fix(tests): use sigs.k8s.io/yaml
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matt Farina
1efdd2ed62
Updating to sprig 3.0.2 to bring in a bugfix
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Adam Reese
712c90fd82
ref(go.mod): kubernetes 1.16.2
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Martin Hickey
d495f06d15
Update containerd dependency from beta to release ( #6773 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Taylor Thomas
a758490f4d
fix(chartutil): Uses copystructure for deep copy to avoid using gob
...
We already had the copystructure library in our dependencies transitively
through sprig. This solves a gob encoding bug that was causing issues with
chart testing
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
John Howard
7a22cb88d9
Drop dependency on k8s.io/kubernetes ( #6609 )
...
* Drop dependency on k8s.io/kubernetes
https://github.com/helm/helm/issues/6606
Depending on k8s.io/kubernetes is not recommended by Kubernetes, and
forces dependencies of Helm to also depend on them. We are only using
this dependency in one relatively isolated occurance, which can be
easily copied over rather than depending on the entire Kubernetes.
Copying this code is not very desirable, so if we don't want to have
this duplication we can at least use this PR as a PoC and see if we can
get Kubernetes to publish the controller package as a separate Go module
(see
https://github.com/kubernetes/kubernetes/issues/79384#issuecomment-538740756 )
Signed-off-by: John Howard <howardjohn@google.com>
* Move to internal
Signed-off-by: John Howard <howardjohn@google.com>
* Exclude third_party from validate-license.sh
Signed-off-by: John Howard <howardjohn@google.com>
5 years ago
Adam Reese
ec870d0a3d
fix(go.mod): run go mod tidy
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Taylor Thomas
3637996dcd
fix(chart): Ports security fix for invalid paths in tarballs
...
This is a port of #5165 and the small refactor in #5610 . This is the issue
where carefully crafted paths can reach outside of the intended chart directory
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Matt Farina
a1a8825cdc
Removing some duplicate go module stuff not needed
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
967f4fed42
Update dependencies
...
* Kubernetes updated to 1.16.1
* SemVer and Sprig updated to latest releases that leverage go
modules
* Tests and checks updated. These already landed in v2 via PR 6457
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
e3137d106a
Migrating dependency management to go modules
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago