Jeff Knurek
6529abe85f
TEST: cleanup code
...
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
5 years ago
Jeff Knurek
b94608388e
TEST: add option to dump logs during helm test
...
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
5 years ago
Matthew Fisher
fb2cbb0019
Merge pull request #6578 from bacongobbler/fix-3442
...
fix(helm): Accept dependency in requirements.yaml from charts directory
5 years ago
Matthew Fisher
74653d3794
fix: return more information to the user
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
a31d4ad43e
fix: use nonexistent rather than inexistent
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Taylor Thomas
4e8063b103
Merge pull request #5177 from adshmh/5150-lint-development-version-flag
...
Allow lint command to parse pre-release charts
5 years ago
Taylor Thomas
730e8f3e27
Merge pull request #5392 from bnookala/add-template-api-versioning
...
Allow customization of API Versions when using Helm Template
5 years ago
Matthew Fisher
b6afc6bf46
Merge pull request #4985 from bkeroackdsc/client-accept-contexts
...
Helm client: add methods that accept contexts
5 years ago
Benjamen Keroack
545e2213be
helm client: add methods that accept contexts so callers can cancel long-running operations
...
Signed-off-by: Benjamen Keroack <benjamen@dollarshaveclub.com>
5 years ago
Bhargav Nookala
300aa76d8d
Allow customization of API Versions when using Helm Template with --api-versions or -a
...
Signed-off-by: Bhargav Nookala <nooknb@gmail.com>
5 years ago
Taylor Thomas
5437dd4d05
Merge pull request #5611 from cgetzen/cg/kube_create_goroutine
...
Performance: Batch kube API operations
5 years ago
Ting-Wai
ed8f17a889
Parameterize maximum number of tests pods to run in parallel ( #6078 )
...
Signed-off-by: Ting-Wai To <tingwai@bitgo.com>
5 years ago
Charlie Getzen
6b2f408f8e
Merge branch 'master' of https://github.com/kubernetes/helm into cg/kube_create_goroutine
5 years ago
Sebastien Plisson
99b8a0d0d7
Removed test requiring repository field to allow local chart dependency
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
5 years ago
Sebastien Plisson
e8ab69ccc6
missing test file
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
5 years ago
Sebastien Plisson
8537bb5c42
Added test cases for chart present under charts folder
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
5 years ago
Sebastien Plisson
21edd808b6
#3321 Accept dependency in requirements.yaml from charts directory.
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
5 years ago
Matthew Fisher
cf30db50f5
Merge pull request #5298 from jordansissel/issue/5296/error-hinting
...
Extra hint in the error when failing to open a chart file.
5 years ago
Matthew Fisher
51f5ae9873
Merge pull request #6577 from bacongobbler/fixup-6334
...
upgrade Go to 1.13.1
5 years ago
Matthew Fisher
caff38ffa1
fix(generator): fixup package comment linting error
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
d8d56fe111
Merge pull request #5610 from adshmh/feat-5552-fix-root-folder-files-error
...
improve error message for content outside base dir
5 years ago
Charlie Getzen
02ccb33bdc
use WaitGroup instead of channels and counters
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
5 years ago
Matthew Fisher
7fd770ca1b
Merge pull request #6274 from kensipe/env-test-fix
...
fixes resetting os env after test run
5 years ago
Matthew Fisher
59ea688813
Merge pull request #5428 from walkafwalka/fix/plugin-tar-extract-perms
...
Preserve file permissions from tarball during plugin install
5 years ago
Matt Farina
a55af70ea8
Merge branch 'master' into 5044-add-app-version-to-history
5 years ago
Matthew Fisher
3bc2b5b1db
Merge pull request #5264 from ds-ms/waitIngress
...
Wait for ingress host to be ready
5 years ago
Abejide Femi
d251b94efc
refactor manager file in pkg folder ( #6551 )
...
Signed-off-by: abejidefemi1@gmail.com <abejidefemi1@gmail.com>
5 years ago
Matthew Fisher
0171f9b9ed
Merge pull request #5789 from perher/no-wait-paused
...
Skip waiting for paused deployments
5 years ago
Charlie Getzen
8dd89867ff
Add check on empty list
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
5 years ago
Matthew Fisher
61be4e65d9
Merge pull request #5345 from longkb/replace_http_by_https
...
Replacing 'HTTP' by 'HTTPS' for securing links
5 years ago
Matthew Fisher
2e871267de
Merge pull request #4783 from derkoe/fix-requirement-condition
...
fix(pkg/chartutil): conditions for alias and umrella charts (#3734 )
5 years ago
Matthew Fisher
3b51dfbdbc
Merge pull request #3478 from hypnoglow/expose-repofile-get
...
ref(helm): expose Get for repository file
5 years ago
Till Hoffmann
8648ccf5d3
fixed typo
...
Signed-off-by: Till Hoffmann <till.hoffmann@enforge.de>
5 years ago
yuxiaobo96
0b229bdd04
Improve the quality of the document ( #6510 )
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
5 years ago
Matthew Fisher
17359e3f0d
Merge pull request #6499 from yuxiaobo96/helm-update6
...
fix typos
5 years ago
陈谭军
9d8a84ee3d
fix-up typo ( #6501 )
...
Signed-off-by: chentanjun <2799194073@qq.com>
5 years ago
yuxiaobo
58c004bb89
Improve the quality of annotations
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
5 years ago
Matt Farina
7a0bbe16a0
Merge pull request #6457 from mattfarina/update-deps
...
Updating to newer versions of dependencies
5 years ago
Taylor Thomas
7d9a6509fa
Merge pull request #6258 from daixiang0/fix-stable
...
fix issue when dependency not in cache
5 years ago
Matt Farina
aa4dae0535
Updating to newer versions of dependencies
...
* This was initiated by new versions from Masterminds
* Linting was set to check for the same chart version as the other
checks of this were. >0.0.0-0. The -0 is important to pull in
prereleases. The latest version of semver Validate now finds
errors here properly where some were missed before
* 0.0.0 is a valid semantic version. Instead of expecting it to be
invalid in the tests to check validation now using an invalid
semantic version
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Xiang Dai
05d5ff4747
update test
...
Signed-off-by: Xiang Dai <764524258@qq.com>
5 years ago
Xiang Dai
b49f4269c5
fix issue when dependency is URL
...
Signed-off-by: Xiang Dai <764524258@qq.com>
5 years ago
Richard Connon
55ccdd040d
Use watcher with retries to wait for resources
...
When waiting for resources use the `ListWatchUntil` instead of
`UntilWithoutRetry` so that if the connection drops between tiller and
the API while waiting the operation can still succeed.
Signed-off-by: Richard Connon <richard.connon@oracle.com>
5 years ago
Taylor Thomas
70af7ba4db
Merge pull request #6271 from 928234269/patch-1
...
fix typo
5 years ago
Gasmi Christophe
256765aa74
Networkpolicy kind sort ( #6266 )
...
* Add NetworkPolicy in kind sorter
Signed-off-by: Christophe GASMI <rekcah78@gmail.com>
* Added NetworkPolicy to sort order test
Signed-off-by: Christophe GASMI <rekcah78@gmail.com>
5 years ago
Adam Eijdenberg
f8f8b5d076
Add test for subchart with null value ( #6146 )
...
Signed-off-by: Adam Eijdenberg <adam@continusec.com>
5 years ago
Ken Sipe
c839363f16
fixes resetting os env after test run
...
Signed-off-by: Ken Sipe <kensipe@gmail.com>
5 years ago
Sakura
627283ac74
fix typo
...
Signed-off-by: Sakura <longfei.shang@daocloud.io>
5 years ago
Xiang Dai
66974afddb
remove duplicate check
...
Signed-off-by: Xiang Dai <764524258@qq.com>
5 years ago
Taylor Thomas
f4a55985b6
Merge pull request #6080 from deitmerit/fix/subchart-value-deletion
...
Fix subchart value deletion
5 years ago
Martin Hickey
dd4afa6af0
Fail to load charts that are not v1 apiVersion ( #6180 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Scott Rigby
d7f32def39
Merge pull request #5622 from scottrigby/chartutil-create-improve-getting-lb-service-address-notes
...
fix(pkg/chartutil): Improve getting LoadBalancer address in NOTES.txt
5 years ago
AllenZMC
e9ea2e0d15
fix some log typos in tlsutil_test.go
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
AllenZMC
7b0a407ff7
fix mis-spelling in manager.go
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
AllenZMC
53f1ab50e5
fix wrong spells in hooks.go
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
AllenZMC
915d69a2c6
fix word 'resoures' to 'resources
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
AllenZMC
6b5ab08a61
fix word 'efault' to 'default'
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
AllenZMC
b788e3dce9
fix word 'potgres' to 'postgres'
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
dinesh reddy
d600c92724
Clean code: delete commented code
...
Signed-off-by: dinesh reddy <dinesh.reddy@bestbuy.com>
5 years ago
AllenZMC
6485fec309
fix word `constrint` to `constraint`
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
Yusuke Kuoka
ae52477fbd
fix: upgrade with CRD changes
...
Probably since K8s 1.13.x, `converter.ConvertToVersion(info.Object, groupVersioner)` which is the body of `asVersioned` doesn't return an error or an "unstructured" object, but `apiextensions/v1beta1.CustomResourceDefinition`.
The result was `helm upgrade` with any changes in CRD consistently failing.
This fixes that by adding an additional case of the conversion result being `v1beta1.CustomResourceDefinition`.
This is a backward-compatible change as it doesn't remove existing switch cases for older K8s versions.
Fixes #5853
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
5 years ago
ethan
c086f78583
cleanup: error message typos in sql.go
...
Signed-off-by: ethan <guangming.wang@daocloud.io>
5 years ago
Stefan Deitmer
e53613db3f
Fix subchart values not being deleted by setting value to nil in parent chart's values
...
Signed-off-by: Stefan Deitmer <stefan.deitmer@gec.io>
5 years ago
Tariq Ibrahim
276bb9b1c8
fix golint issues reported by make test
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
5 years ago
Martin Hickey
d953c6875c
Merge pull request #6039 from Constantin07/add_hpa_to_sorting_order
...
Added HPA to sort order.
5 years ago
Constantin Bugneac
535df90cc8
Added HorizontalPodAutoscaler to sort order.
...
Signed-off-by: Constantin Bugneac <constantin.bugneac@worldfirst.com>
5 years ago
Matthew Fisher
88bb48bc6f
Merge pull request #6010 from icanhazbroccoli/icanhazbroccoli/chartutil-no-scientific-notation
...
chartutil.ReadValues is forced to unmarshal numbers into json.Number refs #1707
5 years ago
Seb Ospina
320e853b8d
Added List mode for Role, ClusterRole and Bindings
...
Kubernetes supports RoleList, RoleBindingList, ClusterRoleList and
ClusterRoleBindingList, in order for a Role to be bound, it must
already exist.
For the List reference, see: https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/rbac/types.go
Signed-off-by: Seb Ospina <kraige@gmail.com>
5 years ago
Oleg Sidorov
9014bd9c50
chartutil.ReadValues is forced to unmarshal numbers into json.Number
...
This change is an attempt to address the common problem of json number
unmarshalling where any number is converted into a float64 and
represented in a scientific notation on a marshall call. This behavior
breaks things like: chart versions and image tags if not converted to
yaml strings explicitly.
An example of this behavior: k8s failure to fetch an image tagged with a
big number like: $IMAGE:20190612073634 after a few steps of yaml
re-rendering turns into: $IMAGE:2.0190612073634e+13.
Example issue: https://github.com/helm/helm/issues/1707
This commit forces yaml parser to use JSON modifiers and explicitly
enables interface{} unmarshalling instead of float64. The change
introduced might be breaking so should be processed with an extra care.
Due to the fact helm mostly dals with human-produced data (charts), we
have a decent level of confidence this change looses no functionality
helm users rely upon (the scientific notation).
Relevant doc: https://golang.org/pkg/encoding/json/#Decoder.UseNumber
Signed-off-by: Oleg Sidorov <oleg.sidorov@booking.com>
5 years ago
Taylor Thomas
4cbbd1046a
Merge pull request #5559 from steven-sheehy/downloader-subcommands
...
Add sub-command support to plugin downloader
5 years ago
willise
a1b391951e
ref(tiller): add more info when force update
...
Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
5 years ago
Matt Farina
e2b3afcf26
Merge pull request #5902 from mattfarina/expand-default-capabilities
...
Add more capabilities to the detault set used by helm template
5 years ago
Naseem
9af767c0e5
Add security context
...
Signed-off-by: Naseem <naseemkullah@gmail.com>
5 years ago
Martin Hickey
c3242d1be4
Merge pull request #5532 from mortent/WaitForDelete
...
fix(helm): Delete hooks should wait for resource to be removed from etcd before continuing
5 years ago
Morten Torkildsen
cb2207c2fb
fix(helm): Delete hooks should wait for resource to be removed from etcd before continuing
...
Signed-off-by: Morten Torkildsen <mortent@google.com>
5 years ago
Matt Farina
79235eef11
Add more capabilities to the detault set used by helm template
...
- These are the capabilities as of k8s 1.14
- They are generated because getting them at runtime uses so much
memory it causes CI errors
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matthew Fisher
d93b660c62
Revert "Change port forward command order in default note"
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matt Farina
6c88a429ff
Merge pull request #5890 from naseemkullah/sa
...
[helm create] Add service account to templates
6 years ago
Aisuko
2868aed321
Change port forward command order in default note
...
Signed-off-by: Aisuko <urakiny@gmail.com>
6 years ago
Naseem
ab8585faea
Keep indentation consistent
...
Signed-off-by: Naseem <naseemkullah@gmail.com>
6 years ago
Naseem
a985f34b81
Add sa
...
Signed-off-by: Naseem <naseemkullah@gmail.com>
6 years ago
Adam Eijdenberg
0ba4c63546
Update warning to be more accurate
...
Signed-off-by: Adam Eijdenberg <adam.eijdenberg@digital.gov.au>
6 years ago
Adam Eijdenberg
dda84976bf
Refactor to use common codepath for table coalescing
...
Stop mutating maps passed on input
Signed-off-by: Adam Eijdenberg <adam.eijdenberg@digital.gov.au>
6 years ago
Adam Eijdenberg
29a295eb84
Add test for existing merging behaviour of mixed types
...
Signed-off-by: Adam Eijdenberg <adam.eijdenberg@digital.gov.au>
6 years ago
Jordan Sissel
15c6bef6a5
Try a bit harder to provide a clear error message.
...
When an unexpected file format is provided for a chart archive, spend
some extra effort to provide the user with some meaningful feedback.
This is intended to help users who mistakenly invoke `helm template`
like this:
helm template values.yaml charts/mychart
This is a user error, and now we can report that the argument
`values.yaml` was expected to be a chart.
Fixes #5296
Signed-off-by: Jordan Sissel <jls@semicomplete.com>
6 years ago
Martin Hickey
2ca025d482
Merge pull request #5759 from ialidzhikov/issue-5758
...
Change extension rule to warning severity
6 years ago
Matt Farina
e46dd138b1
Merge pull request #5842 from mattfarina/moar-capabilities
...
Expose the resource types in addition to the api group/version in templates
6 years ago
Matt Farina
35b740af22
Adding Kinds to the capabilities apiversions lookup for templates
...
This will enable the detection of specific objects including CRDs
that may vary widely between kubernetes clusters
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matthew Fisher
b496f85bc2
Merge pull request #5755 from tillepille/master
...
Use .Values.service.port also in the pre-generated ingress
6 years ago
Tim Schrumpf
741dd4a93b
Ingress ServicePort from Values
...
Signed-off-by: tillepille <github@tillepille.io>
6 years ago
Martin Hickey
b0b0accdfc
Merge pull request #5666 from tariq1890/fix_short
...
fix the short descriptions of all helm commands
6 years ago
Adam Eijdenberg
5b9311d163
Fix nested null value overrides
...
- Add ability to test for nested non-existent keys
- Add test cases for nested null values
- Minimalist fix for nested null key test cases
- Add missing metadata to integration test
Signed-off-by: Adam Eijdenberg <adam.eijdenberg@digital.gov.au>
6 years ago
Matthew Fisher
af0bb6d26b
Merge pull request #5760 from mortent/revertValidationFix
...
fix(helm): Disable schema validation for manifests
6 years ago
Martin Hickey
f8b496fd66
Merge pull request #5772 from dev-chulbuji/master
...
change deployment version
6 years ago
Tariq Ibrahim
ccf933b29a
return error when io.Copy fails in Digest
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
6 years ago
Per Hermansson
b0e7b8c9d9
Skip waiting for paused deployments
...
Signed-off-by: Per Hermansson <perher1@gmail.com>
6 years ago
dev-chulbuji
3708fad517
feat: change miss fixing
...
Signed-off-by: dev-chulbuji <dev.chulbuji@gmail.com>
6 years ago
dev-chulbuji
3d487547f9
change deployment version
...
Signed-off-by: dev-chulbuji <dev.chulbuji@gmail.com>
6 years ago
Morten Torkildsen
ad886c5e36
fix(helm): Disable schema validation for manifests
...
Signed-off-by: Morten Torkildsen <mortent@google.com>
6 years ago
ialidzhikov
0880703a40
Change extension rule to warning severity
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
6 years ago