Matthew Fisher
0171f9b9ed
Merge pull request #5789 from perher/no-wait-paused
...
Skip waiting for paused deployments
6 years ago
Charlie Getzen
8dd89867ff
Add check on empty list
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
6 years ago
Matthew Fisher
61be4e65d9
Merge pull request #5345 from longkb/replace_http_by_https
...
Replacing 'HTTP' by 'HTTPS' for securing links
6 years ago
Matthew Fisher
2e871267de
Merge pull request #4783 from derkoe/fix-requirement-condition
...
fix(pkg/chartutil): conditions for alias and umrella charts (#3734 )
6 years ago
Matthew Fisher
3b51dfbdbc
Merge pull request #3478 from hypnoglow/expose-repofile-get
...
ref(helm): expose Get for repository file
6 years ago
Till Hoffmann
8648ccf5d3
fixed typo
...
Signed-off-by: Till Hoffmann <till.hoffmann@enforge.de>
6 years ago
yuxiaobo96
0b229bdd04
Improve the quality of the document ( #6510 )
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
6 years ago
Matthew Fisher
17359e3f0d
Merge pull request #6499 from yuxiaobo96/helm-update6
...
fix typos
6 years ago
陈谭军
9d8a84ee3d
fix-up typo ( #6501 )
...
Signed-off-by: chentanjun <2799194073@qq.com>
6 years ago
yuxiaobo
58c004bb89
Improve the quality of annotations
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
6 years ago
Matt Farina
7a0bbe16a0
Merge pull request #6457 from mattfarina/update-deps
...
Updating to newer versions of dependencies
6 years ago
Taylor Thomas
7d9a6509fa
Merge pull request #6258 from daixiang0/fix-stable
...
fix issue when dependency not in cache
6 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>
6 years ago
Xiang Dai
05d5ff4747
update test
...
Signed-off-by: Xiang Dai <764524258@qq.com>
6 years ago
Xiang Dai
b49f4269c5
fix issue when dependency is URL
...
Signed-off-by: Xiang Dai <764524258@qq.com>
6 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>
6 years ago
Taylor Thomas
70af7ba4db
Merge pull request #6271 from 928234269/patch-1
...
fix typo
6 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>
6 years ago
Adam Eijdenberg
f8f8b5d076
Add test for subchart with null value ( #6146 )
...
Signed-off-by: Adam Eijdenberg <adam@continusec.com>
6 years ago
Ken Sipe
c839363f16
fixes resetting os env after test run
...
Signed-off-by: Ken Sipe <kensipe@gmail.com>
6 years ago
Sakura
627283ac74
fix typo
...
Signed-off-by: Sakura <longfei.shang@daocloud.io>
6 years ago
Xiang Dai
66974afddb
remove duplicate check
...
Signed-off-by: Xiang Dai <764524258@qq.com>
6 years ago
Taylor Thomas
f4a55985b6
Merge pull request #6080 from deitmerit/fix/subchart-value-deletion
...
Fix subchart value deletion
6 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>
6 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
6 years ago
AllenZMC
e9ea2e0d15
fix some log typos in tlsutil_test.go
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
6 years ago
AllenZMC
7b0a407ff7
fix mis-spelling in manager.go
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
6 years ago
AllenZMC
53f1ab50e5
fix wrong spells in hooks.go
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
6 years ago
AllenZMC
915d69a2c6
fix word 'resoures' to 'resources
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
6 years ago
AllenZMC
6b5ab08a61
fix word 'efault' to 'default'
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
6 years ago
AllenZMC
b788e3dce9
fix word 'potgres' to 'postgres'
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
6 years ago
dinesh reddy
d600c92724
Clean code: delete commented code
...
Signed-off-by: dinesh reddy <dinesh.reddy@bestbuy.com>
6 years ago
AllenZMC
6485fec309
fix word `constrint` to `constraint`
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
6 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>
6 years ago
ethan
c086f78583
cleanup: error message typos in sql.go
...
Signed-off-by: ethan <guangming.wang@daocloud.io>
6 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>
6 years ago
Tariq Ibrahim
276bb9b1c8
fix golint issues reported by make test
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
6 years ago
Martin Hickey
d953c6875c
Merge pull request #6039 from Constantin07/add_hpa_to_sorting_order
...
Added HPA to sort order.
6 years ago
Constantin Bugneac
535df90cc8
Added HorizontalPodAutoscaler to sort order.
...
Signed-off-by: Constantin Bugneac <constantin.bugneac@worldfirst.com>
6 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
6 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>
6 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>
6 years ago
Taylor Thomas
4cbbd1046a
Merge pull request #5559 from steven-sheehy/downloader-subcommands
...
Add sub-command support to plugin downloader
6 years ago
willise
a1b391951e
ref(tiller): add more info when force update
...
Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
6 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
6 years ago
Naseem
9af767c0e5
Add security context
...
Signed-off-by: Naseem <naseemkullah@gmail.com>
6 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
6 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>
6 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>
6 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
Matthew Fisher
9fb19967ba
Merge pull request #5643 from mortent/NoValidateExistingResources
...
fix(helm): Only validate new manifests
6 years ago
Tariq Ibrahim
8fcc438b67
fix the short descriptions of all helm commands
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
fix typo in search.go
6 years ago
Matt Farina
b4ff4d2f61
Merge pull request #5729 from mattfarina/fix-lint-apiversion
...
Adding lint check for apiVersion which is a required field
6 years ago
Matt Farina
d4053b38cd
Adding lint check for apiVersion which is a required field
...
Fixes #5727
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matthew Fisher
ae0d4b151b
fix(pkg/storage/driver): use shallowReleaseEqual()
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
55e87b68bb
Merge pull request #5672 from tariq1890/err_digest
...
add errcheck for Digest method in sign.go
6 years ago
Matthew Fisher
a93ebe17d6
Merge pull request #5371 from PayFit/feat/add-sql-storage-driver
...
[storage] Add an SQL storage driver
6 years ago
Matthew Fisher
39283f9b38
Merge pull request #5702 from bacongobbler/bump-version-2.14
...
bump version to v2.14
6 years ago
Matthew Fisher
5be3af65a2
bump version to v2.14
...
(cherry picked from commit 2420009a75
)
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Tariq Ibrahim
86b970600b
add errcheck for Digest method in sign.go
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
6 years ago
walkafwalka
a8ba005aca
Add umask before tarball creation
...
Signed-off-by: walkafwalka <2865898-walkafwalka@users.noreply.gitlab.com>
6 years ago
walkafwalka
7eb7567e6b
Add tar extract permission tests
...
Signed-off-by: walkafwalka <2865898-walkafwalka@users.noreply.gitlab.com>
6 years ago
Aaron Walker
796f5eea85
Fix plugin tar extract permissions
...
Signed-off-by: Aaron Walker <2865898-walkafwalka@users.noreply.gitlab.com>
6 years ago
Morten Torkildsen
072cd6af37
fix(helm): Regenerate go types from proto
...
Signed-off-by: Morten Torkildsen <mortent@google.com>
7 years ago
Martin Hickey
470d92e126
Fix scaffold chart label in helper template
...
The 'app.kubernetes.io/version' label was not being rendered as
expected. It was appending onto the label before it and also
the next label label was appending onto it on the same line.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
7 years ago
Matthew Fisher
3da600d03f
Merge pull request #5271 from donbowman/add-imagePullSecret
...
Add imagePullSecret to the `default` helm create template
7 years ago
Morten Torkildsen
94adb5bbe0
fix(helm): Only validate new manifests
...
Signed-off-by: Morten Torkildsen <mortent@google.com>
7 years ago
Matt Farina
b06b5ef4d2
Merge pull request #5373 from luisdavim/version_label
...
Add app.kubernetes.io/version label
7 years ago
Luis Davim
0270f2e2b5
Reduce template code duplication. Fixes #5372
...
Signed-off-by: Luis Davim <luis.davim@jet.com>
7 years ago
Charlie Getzen
9f1a62783a
batch perform function by resource kind (Deployment, Pod, etc)
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
7 years ago
Elliot Maincourt
f4052821c9
Fix formatting issue
...
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
7 years ago
Elliot Maincourt
13e82d2039
Clarify our SQL Release binding struct naming and purpose
...
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
7 years ago
Étienne Lafarge
6c396880ad
[pr-review] Lighten docs & validate SQL dialect
...
Signed-off-by: Étienne Lafarge <etienne.lafarge@gmail.com>
7 years ago
Étienne Lafarge
a602d70842
[storage] Add an SQL storage driver
...
This commits adds the possibility to back Tiller (or the future
Tiller-less Helm CLI) with any SQL database (only postgres has been
tested so far) to store release information.
The main motivation for this commit was to use a storage backend that
would allow releases larger that 1MB in size (ConfigMap or Secret
drivers don't, because of limits on value size in the underlying etcd
key-value store).
Signed-off-by: Étienne Lafarge <etienne.lafarge@gmail.com>
Co-authored-by: Elliot Maincourt <e.maincourt@gmail.com> (@emaincourt)
Co-authored-by: Paul Borensztein <hi@0x01.fr> (@commit-master)
7 years ago
Scott Rigby
3df75ec1d9
Improve getting LoadBalancer address in NOTES.txt
...
See https://github.com/helm/charts/issues/84
Signed-off-by: Scott Rigby <scott@r6by.com>
7 years ago
Evan Vetere
f602c2328d
tone down the enthusiasm
...
fix for unit tests
Signed-off-by: Evan Vetere <ecv@sine.com>
7 years ago
SataQiu
06fbc720e7
refactor: using tiller probe port constant
...
Signed-off-by: SataQiu <qiushida@beyondcent.com>
7 years ago