Adam Reese
c235470e59
fix(cmd/helm): upgrade go-shellwords
...
Removes workaround introduced in #7323
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Matthew Fisher
ec2e77cded
Merge pull request #7648 from bacongobbler/fix-6794
...
feat(install): introduce --create-namespace
5 years ago
Matthew Fisher
7fd30581b6
Merge pull request #7665 from TomasKohout/master
...
Printing name of chart that do not have requested import value.
5 years ago
Martin Hickey
1ea17f19e2
Merge pull request #7663 from q384566678/add-record-test
...
Add record util test
5 years ago
Tomáš Kohout
b4f716413c
Printing name of chart that do not have requested import value.
...
Signed-off-by: Tomas Kohout <tomas.kohout@leveris.com>
5 years ago
Zhou Hao
f1f661d4ca
pkg/storage/records: add unit test for Exists
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Zhou Hao
c96aff6a43
pkg/storage/records: add unit test for Index
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Zhou Hao
6b1eebd23a
pkg/storage/records: add unit test for Get
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
akash-gautam
e92a258a9d
fix(helm): add --skipCRDs flag to 'helm upgrade'
...
When 'helm upgrade --install' is run, this will allow to skip installing CRDs
Closes #7452
Signed-off-by: akash-gautam <gautam.akash04@gmail.com>
5 years ago
Marc Khouzam
7f3339cb4e
feat(tests): Allow to provision memory driver
...
The memory driver is used for go tests. It can also be used from the
command-line by setting the environment variable HELM_DRIVER=memory.
In the latter case however, there was no way to pre-provision some
releases.
This commit introduces the HELM_MEMORY_DRIVER_DATA variable which
can be used to provide a colon-separated list of yaml files specifying
releases to provision automatically.
For example:
HELM_DRIVER=memory \
HELM_MEMORY_DRIVER_DATA=./testdata/releases.yaml \
helm list --all-namespaces
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
97e353bda5
feat(comp): Dynamic completion for plugins
...
For each plugin, helm registers a ValidArgsFunction which the completion
script will call when it needs dynamic completion. This
ValidArgsFunction will setup the plugin environment and then call the
executable `plugin.complete`, if it is provided by the plugin.
The output of the call to `plugin.complete` will be used as completion
choices. The last line of the output can optionally be used by the
plugin to specify a completion directive.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
7654c18c6b
feat(comp): Static completion for plugins
...
Allow plugins to optionally specify their sub-cmds and flags through a
simple yaml file.
When generating the completion script with the command
'helm completion <bash|zsh>' (and only then), helm will look for that
yaml file in the plugin's directory. If the file exists, helm will
create cobra commands and flags so that the completion script will
handle them.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Jacob LeGrone
271cb2268b
Alternative: annotation-only solution
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
a29365b3c6
Adopt resources into release with correct instance and managed-by labels
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Marc Khouzam
d6fad6b3c6
feat(comp): Move kube-context completion to Go
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Matthew Fisher
2d191fc111
Merge pull request #7427 from poelzi/master
...
Use /usr/bin/env for bash
5 years ago
Matthew Fisher
64ce6e6a74
Merge pull request #7591 from ylvmw/master
...
IsReachable() needs to give detailed error message.
5 years ago
Matthew Fisher
694cf61aac
feat(install): introduce --create-namespace
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
f7bcdf194b
Merge pull request #7583 from chenrui333/k8s-api-0.17.3
...
ref(go.mod): k8s api 0.17.3
5 years ago
Matthew Fisher
99304c86d2
Merge pull request #7554 from technosophos/fix/formatting-on-adopters
...
fixed missing bullet
5 years ago
Matthew Fisher
09f49458b0
Merge pull request #7608 from q384566678/add-gate-test
...
pkg/gates: add unit test for String
5 years ago
Matthew Fisher
f90d693f08
Merge pull request #7609 from q384566678/fix-printf
...
cmd/helm/search_repo: print info to stderr
5 years ago
Matt Farina
9ec11a7530
Merge pull request #7582 from mattfarina/fix-fest-dist-issue
...
Making fetch-dist get the sha256sum files
5 years ago
Martin Hickey
478647fba0
Merge pull request #7643 from sshukun/fix-list-all-namespaces
...
Fix output of list action when it is failed
5 years ago
Song Shukun
1ff7202a98
Fix output of list action when it is failed
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
5 years ago
Vibhav Bobade
4bd3b8fc06
Pass the apiserver address/port via cli, introduce HELM_KUBEAPISERVER envvar
...
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
5 years ago
Paul Czarkowski
239a5e0930
add license headers to release-notes.sh script
...
Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
5 years ago
Paul Czarkowski
f1416a6979
Adds script to help craft release notes
...
Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
5 years ago
Adam Reese
598dc504d6
Merge pull request #7629 from sshukun/fix-unit-test
...
pkg/helmpath: fix unit test for Windows
5 years ago
Song Shukun
eda60a59b6
pkg/helmpath: fix unit test for Windows
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
5 years ago
Taylor Thomas
512e1b8bc9
Merge pull request #7401 from hiddeco/non-global-scheme-convert
...
fix(kube): use non global Scheme to convert
5 years ago
Taylor Thomas
2cd3d12acd
Merge pull request #7530 from plenus-cloud/fix-7513
...
fix(helm): Don't wait for service to be ready when external IP are set
5 years ago
Matthew Fisher
d0422e6d82
Merge pull request #7622 from sshukun/fix-golint-failure
...
fix golint failure in pkg/action
5 years ago
Song Shukun
e9f40ed7a5
fix golint failure in pkg/action
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
5 years ago
Martin Hickey
0c9e99dce5
Merge pull request #7365 from fenggw-fnst/mybranch
...
Add corresponding unit test to the function in parser.go
5 years ago
Zhou Hao
e085bfcb46
cmd/helm/search_repo: print info to stderr
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Zhou Hao
03b04639f3
pkg/gates: add unit test for String
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Martin Hickey
5ecf3fc099
Merge pull request #7596 from hickeyma/fix-no-err-output
...
fix(render): Render error not being propagated
5 years ago
Martin Hickey
7b9dc71c25
Fix render error not being propogated
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Martin Hickey
722042e852
Merge pull request #7570 from Maronee/upgradeOpenApiValidation
...
feat(upgrade): introduce --disable-openapi-validation:
5 years ago
ylvmw
54ca879095
IsReachable() needs to give detailed error message.
...
Signed-off-by: ylvmw <yngliu@vmware.com>
5 years ago
Matthew Fisher
b63822ed12
Merge pull request #7589 from bacongobbler/fix-get-scripts
...
fix(scripts): scrape for the latest v2/v3 release from the releases page
5 years ago
Matthew Fisher
0087d83807
fix(scripts): scrape for the latest v2/v3 release from the releases page
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Sebastian Voinea
561971c381
feat(upgrade): introduce --disable-openapi-validation:
...
This is a copy of the --disable-openapi-validation flag from the install command as introduced by Matthew Fisher.
See commit 67e57a5fbb
It allows upgrading releases without the need to validate the Kubernetes OpenAPI Schema.
Signed-off-by: Sebastian Voinea <sebastian.voinea@gmx.de>
5 years ago
Rui Chen
2a74212991
ref(go.mod): k8s api 0.17.3
...
Signed-off-by: Rui Chen <chenrui333@gmail.com>
5 years ago
Matt Farina
89fdbdf3d0
Making fetch-dist get the sha256sum files
...
Fetching these files is part of the release process. When the new
file type was added this step was missed. It will cause the sign
make target to fail.
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Vibhav Bobade
afdfb75234
Pass kube user token via cli, introduce HELM_KUBETOKEN envvar
...
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
5 years ago
Reinhard Naegele
a35e124b66
Place rendering invalid YAML under --debug flag
...
Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
5 years ago
Martin Hickey
60d8d727c9
Merge pull request #7571 from moduspwnens/master
...
Revert "Do not delete templated CRDs"
5 years ago
Hidde Beydals
e41184a585
fix(kube): generate k8s native scheme only once
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
5 years ago