Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 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>
6 years ago
Adam Reese
2aee21730d
Merge pull request #6142 from joelanford/decouple-cli-vals
...
cmd/*,pkg/*: move ValueOptions and decouple from SDK
6 years ago
Matthew Fisher
c728611e5a
feat(cli): support XDG base directory specification
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Joe Lanford
8a4b70b1e3
review: move ValueOptions to SDK
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
6 years ago
Joe Lanford
68ee30b48c
cmd/*,pkg/*: move ValueOptions to cmd package and decouple from SDK
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
6 years ago
Adam Reese
b49db9e6e6
ref(pkg/chartutil): break up chartutil into logical files
...
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>
7 years ago
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Martin Hickey
ef4d2a6e65
Update after review
...
Review comment:
- https://github.com/helm/helm/pull/5295#pullrequestreview-203519813
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
7 years ago
Martin Hickey
abdaf3ce1b
Add chart type
...
The chart type is added to differentiaite between an application chart
and a library chart. Library charts can be used as dependencies but are
not installable.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
7 years ago
Adam Reese
85aef0d3d7
ref(pkg/chart): rename Requirements to Dependencies
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Matthew Fisher
bdd420a6b6
remove dirname constraint on `helm package` ( #4141 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Adam Reese
f7a7a157ce
ref(*): merge requirement.yaml into Chart.yaml
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
516c53dae6
ref(chart): use map for chart.Values
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
7 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
7 years ago
Adam Reese
0653ff7635
ref(cmd): dry up values and chartpath flag options
7 years ago
Adam Reese
4cc3498608
ref(cmd): refactor argument validation
7 years ago
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
7 years ago
Adam Reese
57e288a88d
ref(cmd): consistent naming of cmd variables
7 years ago
Adam Reese
c30637b8a1
ref(cmd): remove Writer from Cmd options stucts
7 years ago
Adam Reese
36e034551f
ref(*): rebuild build version object
8 years ago
Adam Reese
c50813af54
ref(*): remove local repository (dead code)
8 years ago
Adam Reese
4c95185164
ref(*): replace chart.config with []byte
8 years ago
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
8 years ago
Taylor Thomas
b718b1c870
fix(package): Adds missing `set-string` flag and parameter
...
A recent PR (#3471 ) wasn't up to date with the latest master changes.
This fixes the issue and adds the right number of parameters to the
`vals` function call.
8 years ago
Arash Deshmeh
a930eb7ff4
feat: add --set and --values options to 'helm package'
...
When 'helm package --set stringsArray' is run, this will set/override values
in the packaged chart. 'helm package --values valueFiles' uses one or more
value files to achieve the same.
Closes #3141
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Arash Deshmeh
9e869700c0
fix(helm): add --app-version flag to 'helm package'
...
When 'helm package --app-version foo' is run, this will
set the AppVersion field to 'foo' in the packaged chart.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Adam Reese
dd952e61f0
fix(helm): load home from flags during runtime
8 years ago
Adam Reese
b671077de1
ref(helm): mix bag of syntax cleanup in cmd/helm
8 years ago
Sushil Kumar
4ddd832f35
Use download manager directly
8 years ago
Sushil Kumar
09bedff7d5
Allow updating chart dependencies when packaging a chart
...
Added -u flag that would cause helm dep up before running helm package
Fixes https://github.com/kubernetes/helm/issues/2128
8 years ago
fengyun.pan
346c82952d
Add friendly output for helm package
8 years ago
fengyun.pan
15daced241
Return err when failed to check dependencie and save chart
8 years ago
Sushil Kumar
61c3a44dc3
Fixed issues reported by test-style
9 years ago
Matt Butcher
6246fa12a8
fix(helm): return error when dependencies are missing
...
This upgrades a warning to an error in cases where `requirements.yaml`
contains a requirement, but it's missing in charts/
This impacts install, upgrade, and package.
Closes #2209
9 years ago
Adam Reese
50eee83646
ref(helm): use new debug method to standardize debug output
9 years ago
Gergo Huszty
b4ca198cc6
Pluggable downloaders. Closes #2093 , #2094 .
...
It is now possible to create plugins with chart download capabilities for custom, non-http protocols.
Furthermore it is possible to reuse helm packages to implement alternative clients with these custom downloader functions.
9 years ago
Louis Taylor
a2ab1aaa09
fix(helm): add --destination flag to 'helm package'
...
This adds a flag similar to the --destination flag on 'helm fetch',
allowing control over the destination for the packaged .tgz file.
Closes #2117
9 years ago
libesz
0537b08779
helmpath goes under /pkg/helm/
9 years ago
libesz
024fc5c806
Fixing pkg->cmd call by moving helmpath under /pkg
...
When downloader package moved to under /pkg, helmpath functions got called still from it, while it is under /cmd. This commit fixes the issue by moving helmpath after the downloader to have only cmd->pkg and pkg->pkg calls.
9 years ago
Steve Wilkerson
98310a915f
fix(helm): add warnings for missing chart dependencies
...
When 'helm install', 'helm package', and 'helm upgrade' are run,
Helm will not issue any warnings if any dependencies listed in
a chart's requirements.yaml file are missing. This change includes
warnings when a chart is found in requirements.yaml but isn't
in charts/.
Closes #1567
9 years ago
Matt Butcher
af58b8eff9
feat(1480): add --version flag to package command
...
This adds a `helm package --version=SEMVER` param that allows users to
set a version during a package operation.
Closes #1480
Closes #1699
9 years ago
Adam Reese
9aa467e317
ref(helm): only pass required dependencies to subcommands
9 years ago
Matt Butcher
f9b37957d9
fix(helm): fix prompt error on Windows build
...
This backs out an earlier change that removed an int type assertion.
9 years ago
Adam Reese
803475c824
fix(*): misc linter issues
9 years ago
Matt Butcher
9ae97c341c
fix(helm): read passphrase from prompt
...
This prompts the user to enter a passphrase if the given PGP key is
encrypted.
Closes #1447
9 years ago
Jim
29d0c339b4
fix(helm): make 'helm help' text punctuation consistent
9 years ago