Nathan Baulch
ef85fa7f2d
Grammar fixes
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com >
2024-09-14 10:30:31 +10:00
Robert Sirchia
d58d7b3762
Fixing all the linting errors
...
Cleaned up all the linting errors we are getting.
Signed-off-by: Robert Sirchia <rsirchia@outlook.com >
2024-03-11 17:13:34 -04:00
Matt Farina
847369c184
Update to Go 1.21 for builds
...
Noteis:
1. This moves golangci scanning to a GitHub action. This will
enable inline pointers to issues in the PR where linting fails.
2. Go 1.21 is specified in the go.mod because Kubernetes libs
require it.
3. The lint issues were removed. Some were fixed while others
were handled by skipping linting or using _ as an argument.
Many of these can be refactored later for better cleanup.
Signed-off-by: Matt Farina <matt.farina@suse.com >
2024-01-08 15:48:36 -05:00
Dmitry Chepurovskiy
512970ab40
Fixing tests after adding labels to release fixture
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net >
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net >
2022-06-17 21:36:47 +03:00
Dmitry Chepurovskiy
2f29ccb9d0
Make default release fixture contain custom labels to make tests check that labels are not lost
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net >
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net >
2022-06-17 21:36:46 +03:00
Dmitry Chepurovskiy
c7eedbd9c5
Fix broken tests for SQL storage driver
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net >
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net >
2022-06-17 21:36:37 +03:00
Dmitry Chepurovskiy
95bb77c261
Fix broken tests for configmap and secret storage drivers
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net >
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net >
2022-06-17 21:36:36 +03: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
Adam Reese
e1d046bc43
fix(tests): fix broken unit tests in storage ( #7928 )
2020-04-14 21:34:08 -07:00
Lu Fengqi
9e1f381bf2
Add unit test for Secrets/ConfigMaps ( #7765 )
...
* test(pkg/storage/secrets): make MockSecretsInterface.List follow ListOptions
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com >
* test(pkg/storage/secrets): add unit test for Secrets.Query
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com >
* test(pkg/storage/cfgmaps): make MockConfigMapsInterface.List follow ListOptions
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com >
* test(pkg/storage/cfgmaps): add unit test for ConfigMaps.Query
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com >
2020-04-14 20:07:02 -06: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
Marc Khouzam
e6d2d10bad
fix(tests): Add namespace support to memory driver
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca >
2020-02-07 11:41:47 -05: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
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io >
2019-03-13 13:43:47 -07:00
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com >
2019-03-12 09:47:12 -07:00
Adam Reese
e51a9b90c9
Merge pull request #5284 from adamreese/v3/make-format
...
feat(Makefile): add formatting target
2019-02-14 23:40:50 -08:00
Martin Hickey
45fb4b1c44
Fix linter warnings
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com >
2019-02-12 18:18:33 +00:00
Adam Reese
f791421fab
feat(Makefile): add formatting target
...
Signed-off-by: Adam Reese <adam@reese.io >
2019-02-08 12:24:47 -08:00
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
2018-08-24 12:03:55 -07:00
Adam Reese
3b9596c6ab
ref(*): convert const types to strings
2018-04-26 16:52:31 -07:00
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types
2018-04-19 11:12:46 -07:00
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
2018-04-18 14:53:38 -07:00
Adam Reese
fc4c095cf0
ref(*): remove pkg/kubernetes from tiller and storage
2018-04-16 11:19:22 -07:00
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
2018-01-05 12:30:26 -08:00
Remington Reackhof
9af1018bd3
Add secrets storage backend for releases
2017-10-08 22:11:41 -04:00
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
2017-04-11 15:42:23 -07:00
Larry Rensing
3a380923f4
feat(*): add --namespace flag to 'helm list'
...
Users can now specify a namespace filter for 'helm list'. Only the
releases within the specified namespace will be shown. For example,
'helm list --namespace foo' will only show releases for the 'foo'
namespace. Also added a namespace field to the table view.
Closes #1563
2017-02-07 10:20:28 -06:00
Adam Reese
84ae1268e1
fix(*): import grouping
2016-12-13 09:57:05 -08:00
Adam Reese
ea3be9e3b2
feat(*): migrate to kubernetes 1.5
2016-12-13 09:57:05 -08:00
Adam Reese
150fb33c2e
fix(*): prevent testing package from being imported
...
Prevent testing package from being imported into main application
2016-10-07 15:51:19 -07:00