Ken Sipe
c839363f16
fixes resetting os env after test run
...
Signed-off-by: Ken Sipe <kensipe@gmail.com>
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>
5 years ago
Matt Farina
6c88a429ff
Merge pull request #5890 from naseemkullah/sa
...
[helm create] Add service account to templates
5 years ago
Aisuko
2868aed321
Change port forward command order in default note
...
Signed-off-by: Aisuko <urakiny@gmail.com>
5 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
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
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