Matt Farina
4e7e939f19
Updating the Go version in go.mod
...
At this time both Go 1.19 and 1.20 are supported. The version
specified in the go.mod file is the minimum version we expect Helm
to be compiled against. This is the oldest supported version to
support environments where others compile Helm. The Helm project
is using Go 1.20 to build Helm itself.
Updating to Go 1.19 also includes dealing with io/ioutil
deprecation and some additional linting issues around staticcheck.
All the staticcheck issues were in test files so linting was
skipped for those.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2023-03-22 11:52:30 -04:00
Eng Zer Jun
2e3e22a003
test: use T.TempDir to create temporary test directory
...
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-02-12 13:54:54 +08:00
Matthew Fisher
2a74204508
go fmt
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-09-17 11:09:37 -07:00
Matt Farina
7953adb06c
Merge branch 'master' into fix/helm-create-overwrite
2020-09-17 13:56:39 -04:00
Matt Butcher
106f1fb45c
fixed bug that caused helm create to not overwrite modified files
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 11:35:46 -06:00
Matt Butcher
c4ef82be13
validate the name passed in during helm create
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-16 16:35:43 -06:00
Adam Reese
3364265e78
ref(pkg/chartutil): use minimal in-memory fixtures
...
Signed-off-by: Adam Reese <adam@reese.io>
2020-05-15 12:11:18 -07:00
Matt Farina
1bd819a7b2
Fixes issue where <CHARTNAME> is left in starter values file
...
This is a leftover bug from #7201 .
Closes #7532
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-02-06 12:01:03 -05:00
Matthew Fisher
9510713d21
fix(chartutil): port over enhancements to helm create from Helm 2
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-10-03 12:34:58 -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
Adam Reese
1779ad5302
ref(cmd/helm): remove init command
...
Signed-off-by: Adam Reese <adam@reese.io>
2019-08-26 10:21:52 -07:00
Adam Reese
b6fdd8783b
feat(cmd/helm): remove need for helm init command
...
* allow repository config via cli
* make `helm repo add` create repo config file if it does not exist
* squash a ton of bugs
Signed-off-by: Adam Reese <adam@reese.io>
2019-08-22 23:31:50 -07:00
Adam Reese
45f63628e1
ref(pkg/chart): remove unused chart.RawValues
...
Signed-off-by: Adam Reese <adam@reese.io>
2019-05-16 11:03:21 -07:00
Matthew Fisher
d3f0ac9343
ref(create): app version should be 0.1.0
...
When creating a Helm chart for the first time, the assumption should be that the app version is also 0.1.0, implying this is for a new application.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-04-15 12:06:16 -07:00
Adam Reese
e458a67f0c
ref(pkg/chart): add validation method to chart
...
Consolidate validation of Chart.yaml.
Signed-off-by: Adam Reese <adam@reese.io>
2019-04-05 13:40:06 -07: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
Adam Reese
516c53dae6
ref(chart): use map for chart.Values
...
Signed-off-by: Adam Reese <adam@reese.io>
2018-08-29 09:56:19 -07:00
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
2018-08-24 12:03:55 -07:00
Adam Reese
f012940d9c
ref(*): refactor chart/chartutil
...
ref(chartutil): move chart loading out of chartutil into new package
add chart loader interface to allow lazy loading
feat(chart): create chart accessors
ref(*): cleanup requirements
ref(tiller): remove optional template engines
ref(tiller): simplify sorting releases and hooks
ref(*): code simplification
ref(hapi): move chart package out of hapi
ref(chart): add requirements and lock to Chart struct
2018-08-24 11:28:29 -07:00
Adam Reese
4c95185164
ref(*): replace chart.config with []byte
2018-04-20 00:13:19 -07:00
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
2018-04-18 14:53:38 -07:00
Brad Beam
8e0eface2c
Making starter templates more versatile
...
This adds support for changing '<CHARTNAME>'
occurances in starter chart to the destination
chart name
2018-01-01 04:34:38 +00:00
Matt Butcher
784a339627
feat(helm): support 'helm create --pack=mypack'
...
This adds support for packs, pre-configured chart patterns that can be
used to quickly create a custom layout for your new chart.
2016-11-22 16:27:54 -07:00
Vic Iglesias
cd34492b5a
Add tests for new files in create
2016-10-25 17:48:49 -07:00
Matt Butcher
e757b24aed
fix(*): add license header
2016-06-22 12:28:45 -06:00
Matt Butcher
713020359b
feat(pkg/ignore): add helmignore library
...
This adds support for .helmignore files. These files roughly follow
the conventions established for .gitignore files:
https://git-scm.com/docs/gitignore
Closes #748
2016-06-15 13:00:42 -06:00
Matt Butcher
377a43385e
fix(*): fixed import paths
2016-06-06 21:21:36 -06:00
Matt Butcher
ebd81152dd
fix(helm): update 'helm create' to use YAML.
2016-06-06 21:13:48 -06:00