Commit graph

31 commits

Author SHA1 Message Date
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
2020-09-29 10:39:10 -04:00
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>
2020-09-29 06:28:13 +00:00
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>
2020-09-29 06:28:01 +00:00
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
2020-09-28 10:08:14 -04:00
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>
2020-09-28 13:28:25 +00:00
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>
2020-09-28 13:27:48 +00:00
Matt Farina
b7c38c879a Adding support for k8s 1.19
Closes #8806

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-09-25 12:15:06 -04:00
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>
2020-08-14 17:18:37 +02:00
Matthew Fisher
148d94bcf7
version bump
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-06-23 11:07:48 -07:00
Matthew Fisher
75aa425bfc
bump to kubernetes 1.18.2
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-05-13 08:37:54 -07:00
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>
2020-04-16 14:53:40 -06:00
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>
2020-04-16 14:12:30 -04:00
Marc Khouzam
a806326d18 feat(cmd/helm): Update Cobra to 1.0.0 release
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2020-04-13 15:21:26 -04:00
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>
2020-04-13 08:40:38 -07:00
Matthew Fisher
187526eb13
chore(go.mod): run go mod tidy
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-03-05 11:02:25 -08:00
Adam Reese
c235470e59
fix(cmd/helm): upgrade go-shellwords
Removes workaround introduced in #7323

Signed-off-by: Adam Reese <adam@reese.io>
2020-02-25 10:42:20 -08:00
Rui Chen
2a74212991 ref(go.mod): k8s api 0.17.3
Signed-off-by: Rui Chen <chenrui333@gmail.com>
2020-02-13 12:23:14 -05:00
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>
2020-02-04 13:54:13 -06:00
Martin Hickey
45d986327a
Tidy up go dependencies (#7494)
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2020-01-30 12:00:57 +00:00
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>
2020-01-30 11:24:09 +00:00
Joe Lanford
c365c8dcdc go.mod,go.sum: bump to k8s v1.17.1
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
2020-01-15 12:00:33 -05:00
Joe Lanford
6f11334d61 go.mod,go.sum: bump Kubernetes dependencies 1.17.0
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
2020-01-10 12:05:59 -05:00
Matthew Fisher
1230df8822
chore(go.sum): run go mod tidy
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-01-08 09:46:14 -08:00
Matt Farina
1efdd2ed62
Updating to sprig 3.0.2 to bring in a bugfix
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-12-13 13:33:36 -05:00
Adam Reese
712c90fd82
ref(go.mod): kubernetes 1.16.2
Signed-off-by: Adam Reese <adam@reese.io>
2019-10-28 13:45:51 -07:00
Martin Hickey
d495f06d15
Update containerd dependency from beta to release (#6773)
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-10-25 11:10:18 +01:00
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>
2019-10-11 14:13:25 +01:00
Adam Reese
ec870d0a3d
fix(go.mod): run go mod tidy
Signed-off-by: Adam Reese <adam@reese.io>
2019-10-09 16:53:25 -07:00
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 14:27:05 -04:00
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>
2019-10-03 13:49:07 -04:00
Matt Farina
e3137d106a
Migrating dependency management to go modules
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 12:04:14 -04:00