Song Shukun
3fa62f4da1
Fix output of list action when it is failed
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
(cherry picked from commit 1ff7202a98
)
6 years ago
Hidde Beydals
8d012c25ff
fix(kube): generate k8s native scheme only once
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
(cherry picked from commit e41184a585
)
6 years ago
Hidde Beydals
742a46948b
fix(kube): use non global Scheme to convert
...
But instead use a newly initialized Scheme with only Kubernetes native
resources added. This ensures the 3-way-merge patch strategy is not
accidentally chosen for custom resources due to them being added
to the global Scheme by e.g. versioned clients while using Helm as a
package, and not a self-contained binary.
Signed-off-by: Hidde Beydals <hello@hidde.co>
(cherry picked from commit b55224ebb9
)
6 years ago
Federico Bevione
54524f9273
fix(helm): improved logs
...
Signed-off-by: Federico Bevione <f.bevione@cognitio.it>
(cherry picked from commit af0007c908
)
6 years ago
Federico Bevione
9791686136
fix(helm): Reworded logs for clarity
...
Signed-off-by: Federico Bevione <f.bevione@cognitio.it>
(cherry picked from commit 077503f175
)
6 years ago
Federico Bevione
30ebfaf20d
fix(helm): Don't wait for service to be ready when external IP are set
...
Resolves #7513
As the externalIPs are not managed by k8s (according to the doc: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#servicespec-v1-core ) helm should not wait for services which set al least one externalIPs.
Signed-off-by: Federico Bevione <f.bevione@cognitio.it>
(cherry picked from commit 438eaec971
)
6 years ago
Guangwen Feng
40cefb606c
Add corresponding unit test to the function in parser.go
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
(cherry picked from commit 2f705f94b6
)
6 years ago
Martin Hickey
af0960456a
Fix render error not being propogated
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
(cherry picked from commit 7b9dc71c25
)
6 years ago
Benn Linger
3a817f2d24
Revert "Do not delete templated CRDs"
...
This reverts commit 9711d1c6bf
. Resolves issue #7505 .
Signed-off-by: Benn Linger <benn@bennlinger.com>
(cherry picked from commit 5e638e3587
)
6 years ago
Daniel Cheng
b29d20baf0
add test for template recursion
...
Signed-off-by: Daniel Cheng <dcheng@us.ibm.com>
(cherry picked from commit 206d4a9053
)
6 years ago
Daniel Cheng
805a591b50
fix recursion count in templates
...
Signed-off-by: Daniel Cheng <dcheng@us.ibm.com>
(cherry picked from commit 8528548441
)
6 years ago
Taylor Thomas
cf7a02fac7
chore(*): Removes support for searching the plugin dir
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Taylor Thomas
7a3049a418
chore(postrender): Adds unit tests for exec post renderer
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Taylor Thomas
08fc12a8c3
Adds post-render support
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Matthew Fisher
8e1fc4bc6f
fix(memory_test): rebase master
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matt Farina
e24b21a3dc
Merge pull request #7543 from mattfarina/issue-7536
...
Fixes issue where non-CRDs are read in from the crd directory
6 years ago
Matthew Fisher
b0a187756c
Merge pull request #7288 from mnkyl/lint-subcharts
...
feat(cmd/lint): added flag to lint dependent charts
6 years ago
Marc Khouzam
be7de1c376
fix(cmd): Specify namespace for template command
...
The template command uses the memory driver. This driver now supports
namespaces, so the template code-path now specifies the namespace as
required by the memory driver.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Marc Khouzam
e6d2d10bad
fix(tests): Add namespace support to memory driver
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Matthew Fisher
98962dce3f
Merge pull request #7349 from tiendc/unit_test_memory_list
...
Add unit test for List() of pkg/storage/driver/memory.go
6 years ago
Matt Farina
ed80cf4548
Fixes issue where non-CRDs are read in from the crd directory
...
For example, a readme markdown is read in and parsed
Closes #7536
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matthew Fisher
0dadbdc309
Merge pull request #7373 from Sh4d1/bypass_ns
...
add option to bypass kubeconfig namespace
6 years ago
Matthew Fisher
c825a01435
Merge pull request #7440 from mtougeron/helm-template-write-crd-to-spec-file
...
Render the CRDs to output-dir files
6 years ago
Matt Farina
3582b03a91
Merge pull request #7542 from mattfarina/issue-7532
...
Fixes issue where <CHARTNAME> is left in starter values file
6 years ago
Jon Huhn
43e6285995
Fix engine.newFiles doc comment
...
Signed-off-by: Jon Huhn <huhnjon@gmail.com>
6 years ago
Matt Farina
1bd819a7b2
Fixes issue where <CHARTNAME> is left in starter values file
...
This is a leftover bug from #7201 .
Closes #7532
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Martin Hickey
5ec70ab27f
fix(chart): lock digest differs when dependency build with Helm 2 and then Helm 3 ( #7261 )
...
* Fix issue with apiVersion v1 lock digest
When apiVersion v1 chart dependencies are built with Helm 2
and then built with Helm 3, the lock digests differ. To avoid
this issue, a depdendency update is forced.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Check against Helm v2 hash
Handle scenario where dependency hash was generated by Helm v2
but need to do a dependency build with Helm v3.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Add unit test
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Refactor unit test
Refactor unit test to use an existing chart as dependency
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Update after review
Comments:
- https://github.com/helm/helm/pull/7261#discussion_r373827088
- https://github.com/helm/helm/pull/7261#discussion_r373827250
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Mike Tougeron
e78402d559
fix conflicts
...
Signed-off-by: Mike Tougeron <tougeron@adobe.com>
6 years ago
Josh Dolitsky
7ce29e12fa
ref(go.mod): oras v0.8.1 ( #6862 )
...
* ref(go.mod): oras v0.8.1
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
* update various module versions
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
* upgrade oras v0.8.1
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
* upgrade to oras 0.8.1 release
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
* lock to oras release (0.8.1)
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
6 years ago
Matthew Fisher
3ff3dabd9e
Merge pull request #6819 from bacongobbler/disable-openapi-validation
...
feat(install): introduce --disable-openapi-validation
6 years ago
Martin Hickey
084ab20f67
feat(template): Allow template output to use release name ( #7503 )
...
* Allow template output to use release name
helm template output command uses the chart name only when writing
templates to disk. This changes will also use the release name
to avoid colloiding the path when output nore than one release
of smae chart.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Update after review
Comment:
- https://github.com/helm/helm/pull/7503/files#r374130090
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Yaakov Selkowitz
df20164cd2
Fix tests on arm64 and ppc64le ( #7500 )
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
6 years ago
Matthew Fisher
5c7bf8e015
Merge pull request #7474 from bacongobbler/fix-7473
...
fix(lookup_func): do not return error when object is not found
6 years ago
Matthew Fisher
1b1d6bba9c
fix(lookup_func): do not return error when object is not found
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Jon Huhn
d70b50b3a1
Fix typo
...
Signed-off-by: Jon Huhn <huhnjon@gmail.com>
6 years ago
LongKB
1d79ed2c18
Fix some spelling errors in comment ( #7492 )
...
Although it is spelling mistakes, it might make an affects while reading.
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
6 years ago
Matthew Fisher
0afce196fd
Merge pull request #7484 from diversario/7481-dont-cleanup-nil-resources
...
When no resources were created, do not try to clean them up
6 years ago
Taylor Thomas
c8c0000725
Merge pull request #7409 from akazemis/11414-fix-the-helm-upgrade-force-log-issue
...
log.Printf replaced to fix the helm upgrade log issue
6 years ago
Ilya Shaisultanov
8d566c0ade
When no resources were created, do not try to clean them up
...
Fixes #7481
Signed-off-by: Ilya Shaisultanov <ilya.shaisultanov@gmail.com>
6 years ago
Mike Tougeron
93adb35af1
maintain backwards compatibility in the api for the CRDs function
...
Signed-off-by: Mike Tougeron <tougeron@adobe.com>
6 years ago
Matthew Fisher
50dcd39ba5
fix(package): remove --set, --values, etc. flags
...
These flags snuck in through a feature that was reverted and removed in Helm 2, but snuck into Helm 3.
They were never hooked up or used, so they were a no-op. This shouldn't affect anyone.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
9c680e604b
Merge pull request #7443 from zwwhdls/fix7439
...
allow limited recursion in templates
6 years ago
Shota Nakamura
0beb9f7040
fix(chartutil): remove empty lines and a space from rendered chart templates ( #7455 )
...
Signed-off-by: sukimoyoi <alice89yryr0@gmail.com>
6 years ago
Matt Farina
e3675e3312
Merge pull request #7358 from cristiklein/fix/deal-with-correupted-storage-v3
...
fix(helm): improve handling of corrupted storage
6 years ago
zwwhdls
16a85f7570
fix test-style
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
6 years ago
zwwhdls
4eda4fa06d
allow limited recursion in templates
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
6 years ago
Mike Tougeron
804e07300b
Render the CRDs to spec files
...
Signed-off-by: Mike Tougeron <tougeron@adobe.com>
6 years ago
Matthew Fisher
29fc78f975
Merge pull request #6975 from jabielecki/doc-helmpath
...
doc(helmpath) move licensing info out of godoc
6 years ago
Jakub Bielecki
8fe2097ffe
fix(kube) only add to scheme.Scheme once
...
Closes #6566
Signed-off-by: Jakub Bielecki <jakub.bielecki@codilime.com>
6 years ago
Martin Hickey
88f42929d7
Remove references to protobuf ( #7425 )
...
Remove references to protobuf and update description of release
object stored representation to Helm v3.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago