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>
3 years ago
Matthew Fisher
2a74204508
go fmt
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
4 years ago
Matt Farina
7953adb06c
Merge branch 'master' into fix/helm-create-overwrite
4 years ago
Matt Butcher
106f1fb45c
fixed bug that caused helm create to not overwrite modified files
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Matt Butcher
c4ef82be13
validate the name passed in during helm create
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Adam Reese
3364265e78
ref(pkg/chartutil): use minimal in-memory fixtures
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
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>
5 years ago
Matthew Fisher
9510713d21
fix(chartutil): port over enhancements to `helm create` from Helm 2
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.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
Adam Reese
1779ad5302
ref(cmd/helm): remove init command
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
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>
5 years ago
Adam Reese
45f63628e1
ref(pkg/chart): remove unused chart.RawValues
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
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>
6 years ago
Adam Reese
e458a67f0c
ref(pkg/chart): add validation method to chart
...
Consolidate validation of Chart.yaml.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
516c53dae6
ref(chart): use map for chart.Values
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
6 years ago
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
6 years ago
Adam Reese
4c95185164
ref(*): replace chart.config with []byte
7 years ago
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
7 years ago
Brad Beam
8e0eface2c
Making starter templates more versatile
...
This adds support for changing '<CHARTNAME>'
occurances in starter chart to the destination
chart name
7 years ago
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.
8 years ago
Vic Iglesias
cd34492b5a
Add tests for new files in create
8 years ago
Matt Butcher
e757b24aed
fix(*): add license header
8 years ago
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
9 years ago
Matt Butcher
377a43385e
fix(*): fixed import paths
9 years ago
Matt Butcher
ebd81152dd
fix(helm): update 'helm create' to use YAML.
9 years ago