Matt Butcher
ad3ba46de1
docs: Update inline docs on action/upgrade.go ( #7834 )
...
* docs: Update inline docs on action/upgrade.go
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* clarify atomic and cleanup-on-fail
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* updated the post-render documentation on action.Upgrade
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Farina
59447f850c
Merge pull request #7900 from mattfarina/moar-version-template
...
Adding template docs to the version command
5 years ago
Matthew Fisher
0e10757a3c
Merge pull request #7854 from q384566678/add-metadata-test
...
add unit test for metadata Validate
5 years ago
Zhou Hao
20c7909756
add unit test for metadata Validate
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Matthew Fisher
79cf8bc4f6
Merge pull request #7853 from q384566678/add-chart-test
...
Add chart unit test
5 years ago
Zhou Hao
b439d34a43
add unit test for ChartFullPath
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Zhou Hao
a3d3fa3964
add unit test for ChartPath
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Zhou Hao
8c55de3818
add unit test for IsRoot
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Matt Butcher
0c87ca544f
updated help text for install --atomic, which was completely inaccurate ( #7912 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Marc Khouzam
a806326d18
feat(cmd/helm): Update Cobra to 1.0.0 release
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Eric Bailey
b9445616b5
fix(storage): preserve last deployed revision ( #7806 )
...
Signed-off-by: Eric Bailey <eric@ericb.me>
5 years ago
Matt Butcher
469837b92c
fixed capitalization in a few help messages. ( #7898 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Marc Khouzam
65f28c153a
chore(comp): Remove unnecessary code
...
After the introduction of lazy loading of the Kubernetes client as part
of PR #7831 , there is no longer a need to protect against an incomplete
--kube-context value when doing completion.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
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>
5 years ago
Matt Farina
0d9727d6ab
Adding template docs to the version command
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Andreas Lindhé
f89d985cb8
Implement support for multiple args for repo remove ( #7791 )
...
* Implement support for multiple args for repo remove
Signed-off-by: Andreas Lindhé <andreas@lindhe.io>
5 years ago
Matt Butcher
bd13b80b12
fix: fixed bug in Dependency.List() ( #7852 )
...
* fix: fixed bug in Dependency.List()
A bug in Dependency.List() caused all compressed charts to flag their dependencies as "missing".
Closes #4431
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* removed some files from test fixtures
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Farina
7ab76a2b9c
Merge pull request #7892 from mattfarina/more-version-docs
...
Adding notes on semver to create Chart.yaml
5 years ago
Matt Farina
08c612eedf
Adding notes on semver to create Chart.yaml
...
The version field in the Chart.yaml has a comment describing it
but it did not note the version needs to follow SemVer. There
have been numerous questions, over time, about this format. Add
note here so it's exposed in more places.
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matthew Fisher
b735abe837
Merge pull request #7879 from naseemkullah/pod-annotations
...
[create] feat: add pod annotations
5 years ago
Matthew Fisher
d80e6ae0d8
Merge pull request #7878 from naseemkullah/image-tag-override
...
[create] feat: allow image tag override
5 years ago
Naseem
f7972d075e
feat: allow image tag override
...
While using the chart version as image tag is the sanest default, it is not uncommon to want to override this if using a custom image, or using helm to manage an in-house app running different tags across different environments.
Signed-off-by: Naseem <naseem@transit.app>
5 years ago
Naseem
c4fc8b7de8
feat: add pod annotations
...
With the rise of sidecar injectors, pod annotations configuration is becoming more and more important.
Signed-off-by: Naseem <naseem@transit.app>
5 years ago
lnattrass
c12a9aee02
fix(helm): Data race in kube/client Delete func. ( #7820 )
...
helm uninstall has a data race in its Delete function.
This resolves it using a mutex.
Signed-off-by: Liam Nattrass <liam.d.nattrass+git@gmail.com>
5 years ago
Mario Valderrama
6414791e08
Improve --show-only flag ( #7816 )
...
* Improve --show-only flag
* Ensure consistent manifest ordering
5 years ago
Martin Hickey
c20d06d930
Merge pull request #7814 from hs0210/work
...
Add unit test for pkg/chart/chart.go
5 years ago
Hu Shuai
9ab40a26af
Add unit test for pkg/chart/chart.go
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
5 years ago
Martin Hickey
06b43f63c3
Merge pull request #7830 from jgleonard/render-subchart-notes-on-upgrade-install
...
Render subchart notes on upgrade install
5 years ago
Jon Leonard
f927275461
remove unneeded values files from testchart
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Jon Leonard
cfdd466192
update test chart to helm3 format
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Martin Hickey
783be10aef
Merge pull request #7381 from naseemkullah/create-hpa
...
[helm create] Add hpa boilerplate
5 years ago
Matt Butcher
3706aa7ca6
fix: update unit test for go 1.14 error string change ( #7835 )
...
* fix: update unit test for go 1.14 error string change
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* changed strategy based on conversation with Adam
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Tuan
97c68adc4d
Add fromYamlArray and fromJsonArray template helpers ( #7712 )
...
Signed-off-by: Tuan Nguyen <nmtuan.dev@gmail.com>
5 years ago
Jon Leonard
a7e79ee434
Delete unneeded chart output
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Jon Leonard
e2b70b2f4b
add testing for upgrade --install with subchart notes
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Martin Hickey
fd00ca260a
Merge pull request #7827 from idvoretskyi/idvoretskyi-snap
...
Snapcraft installation instructions added
5 years ago
Jon Leonard
00201ffaa8
pass subchart notes option to install client
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Ihor Dvoretskyi
cd9c9922ec
Snapcraft installation instructions added
...
Helm is available as a snap - https://snapcraft.io/helm ; added this to
the installation options
Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
5 years ago
Martin Hickey
aef7b1dca2
Merge pull request #7720 from misha-ridge/atomic-charts-cache
...
Make the charts cache safe in presence of several Helm instances
5 years ago
Matthew Fisher
193850a9e2
Merge pull request #7499 from bacongobbler/fix-7416
...
ref(helm): sort hooks by kind
5 years ago
Matt Farina
22344063d2
Merge pull request #7753 from anshulvermapatel/helm/7749/helm_list_short_listing_format
...
Solves the issue #7749
5 years ago
Martin Hickey
a322199c65
Merge pull request #7779 from hickeyma/fix/test-check-msg
...
refactor(pkg/lint/test): Improve the checking error message in unit test
5 years ago
Matthew Fisher
e0856a56cc
Merge pull request #7649 from DataDog/jlegrone/adopt-resources
...
Adopt resources into release with correct instance and managed-by labels
5 years ago
Martin Hickey
9a0e7d8a31
Improve error message to check in unit test
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Martin Hickey
ca931b472b
Merge pull request #7691 from longkb/add_ut_for_values
...
Add unit test for lint/values.go
5 years ago
Martin Hickey
93137abbb4
Merge pull request #7410 from tiendc/unit_test_releaseutil
...
Add unit test for Reverse() in pkg/releaseutil/sorter.go
5 years ago
Kim Bao Long
9d20e44ad1
Add unit test for lint/values.go
...
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
5 years ago
tiendc
26830942d2
Fix a bug in Delete() in storage/driver/cfgmaps.go ( #7367 )
5 years ago
tiendc
06bc18c624
Fix a bug in storage/driver/secrets.go Delete() ( #7348 )
...
* Fix a bug in storage/driver/secrets.go
5 years ago
Martin Hickey
3cc5811de5
Merge pull request #7744 from hickeyma/port-devel-show
...
fix(show): Port --devel flag for show command
5 years ago