Martin Hickey
722042e852
Merge pull request #7570 from Maronee/upgradeOpenApiValidation
...
feat(upgrade): introduce --disable-openapi-validation:
2020-02-14 09:24:50 +00:00
Sebastian Voinea
561971c381
feat(upgrade): introduce --disable-openapi-validation:
...
This is a copy of the --disable-openapi-validation flag from the install command as introduced by Matthew Fisher.
See commit 67e57a5fbb
It allows upgrading releases without the need to validate the Kubernetes OpenAPI Schema.
Signed-off-by: Sebastian Voinea <sebastian.voinea@gmx.de>
2020-02-13 21:36:46 +01:00
Benn Linger
5e638e3587
Revert "Do not delete templated CRDs"
...
This reverts commit 9711d1c6bf . Resolves issue #7505 .
Signed-off-by: Benn Linger <benn@bennlinger.com>
2020-02-11 15:46:28 -05:00
Daniel Cheng
206d4a9053
add test for template recursion
...
Signed-off-by: Daniel Cheng <dcheng@us.ibm.com>
2020-02-10 12:25:41 -05:00
Daniel Cheng
8528548441
fix recursion count in templates
...
Signed-off-by: Daniel Cheng <dcheng@us.ibm.com>
2020-02-07 18:35:21 -05:00
Taylor Thomas
cf7a02fac7
chore(*): Removes support for searching the plugin dir
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2020-02-07 10:29:59 -07:00
Taylor Thomas
7a3049a418
chore(postrender): Adds unit tests for exec post renderer
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2020-02-07 10:29:59 -07:00
Taylor Thomas
08fc12a8c3
Adds post-render support
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2020-02-07 10:29:59 -07:00
Matthew Fisher
8e1fc4bc6f
fix(memory_test): rebase master
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-02-07 09:25:23 -08:00
Matt Farina
e24b21a3dc
Merge pull request #7543 from mattfarina/issue-7536
...
Fixes issue where non-CRDs are read in from the crd directory
2020-02-07 12:01:01 -05:00
Matthew Fisher
b0a187756c
Merge pull request #7288 from mnkyl/lint-subcharts
...
feat(cmd/lint): added flag to lint dependent charts
2020-02-07 08:46:01 -08:00
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>
2020-02-07 11:41:47 -05:00
Marc Khouzam
e6d2d10bad
fix(tests): Add namespace support to memory driver
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2020-02-07 11:41:47 -05:00
Matthew Fisher
98962dce3f
Merge pull request #7349 from tiendc/unit_test_memory_list
...
Add unit test for List() of pkg/storage/driver/memory.go
2020-02-07 08:30:39 -08:00
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>
2020-02-07 11:24:05 -05:00
Matthew Fisher
0dadbdc309
Merge pull request #7373 from Sh4d1/bypass_ns
...
add option to bypass kubeconfig namespace
2020-02-07 08:18:42 -08:00
Matthew Fisher
c825a01435
Merge pull request #7440 from mtougeron/helm-template-write-crd-to-spec-file
...
Render the CRDs to output-dir files
2020-02-07 08:16:16 -08:00
Matt Farina
3582b03a91
Merge pull request #7542 from mattfarina/issue-7532
...
Fixes issue where <CHARTNAME> is left in starter values file
2020-02-06 12:38:29 -05:00
Jon Huhn
43e6285995
Fix engine.newFiles doc comment
...
Signed-off-by: Jon Huhn <huhnjon@gmail.com>
2020-02-06 11:13:20 -06:00
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>
2020-02-06 12:01:03 -05:00
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>
2020-02-05 09:38:30 +01:00
Mike Tougeron
e78402d559
fix conflicts
...
Signed-off-by: Mike Tougeron <tougeron@adobe.com>
2020-02-04 13:16:51 -08:00
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>
2020-02-04 13:54:13 -06:00
Matthew Fisher
3ff3dabd9e
Merge pull request #6819 from bacongobbler/disable-openapi-validation
...
feat(install): introduce --disable-openapi-validation
2020-02-04 08:32:58 -08:00
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>
2020-02-04 17:27:38 +01:00
Yaakov Selkowitz
df20164cd2
Fix tests on arm64 and ppc64le ( #7500 )
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2020-01-31 09:59:35 +00:00
Matthew Fisher
5c7bf8e015
Merge pull request #7474 from bacongobbler/fix-7473
...
fix(lookup_func): do not return error when object is not found
2020-01-30 11:48:58 -08:00
Matthew Fisher
1b1d6bba9c
fix(lookup_func): do not return error when object is not found
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-01-30 10:55:33 -08:00
Jon Huhn
d70b50b3a1
Fix typo
...
Signed-off-by: Jon Huhn <huhnjon@gmail.com>
2020-01-30 09:50:59 -06:00
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>
2020-01-30 11:19:10 +00:00
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
2020-01-29 08:11:10 -08:00
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
2020-01-29 11:23:38 +01:00
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>
2020-01-29 10:27:33 +01:00
Mike Tougeron
93adb35af1
maintain backwards compatibility in the api for the CRDs function
...
Signed-off-by: Mike Tougeron <tougeron@adobe.com>
2020-01-27 14:06:06 -08:00
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>
2020-01-27 10:29:15 -08:00
Matthew Fisher
9c680e604b
Merge pull request #7443 from zwwhdls/fix7439
...
allow limited recursion in templates
2020-01-27 09:51:29 -08:00
Shota Nakamura
0beb9f7040
fix(chartutil): remove empty lines and a space from rendered chart templates ( #7455 )
...
Signed-off-by: sukimoyoi <alice89yryr0@gmail.com>
2020-01-27 11:00:26 +00:00
Matt Farina
e3675e3312
Merge pull request #7358 from cristiklein/fix/deal-with-correupted-storage-v3
...
fix(helm): improve handling of corrupted storage
2020-01-22 12:37:18 -05:00
zwwhdls
16a85f7570
fix test-style
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
2020-01-21 22:04:13 +08:00
zwwhdls
4eda4fa06d
allow limited recursion in templates
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
2020-01-21 21:46:34 +08:00
Mike Tougeron
804e07300b
Render the CRDs to spec files
...
Signed-off-by: Mike Tougeron <tougeron@adobe.com>
2020-01-20 13:31:26 -08:00
Matthew Fisher
29fc78f975
Merge pull request #6975 from jabielecki/doc-helmpath
...
doc(helmpath) move licensing info out of godoc
2020-01-17 11:59:10 -08:00
Jakub Bielecki
8fe2097ffe
fix(kube) only add to scheme.Scheme once
...
Closes #6566
Signed-off-by: Jakub Bielecki <jakub.bielecki@codilime.com>
2020-01-17 20:26:54 +01:00
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>
2020-01-17 15:56:56 +00:00
Vivian Kong
82823a6634
Allow tests to run on s390x ( #7096 )
...
Signed-off-by: Vivian Kong <vivkong@ca.ibm.com>
2020-01-17 15:39:26 +00:00
Matt Butcher
6cc039ea79
fix: catch one additional discovery client warning ( #7176 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-01-16 13:54:22 -07:00
Cristian Klein
1f0582cadc
fix(helm): improve handling of corrupted storage
...
Helm does not yet properly handle concurrent executions (see #7322 ),
and invoking Helm concurrently on the same release lead to corrupted storage.
Specifically, several Releases may be marked as DEPLOYED. This patch improved handling of such situations, by taking the latest
DEPLOYED Release. Eventually, the storage will clean itself out, after
the corrupted Releases are deleted due to --history-max.
This is a port to Helm v3 of #7319 .
Signed-off-by: Cristian Klein <cristian.klein@elastisys.com>
2020-01-16 08:55:25 +01:00
Ahmad Kazemi
9143223932
unnecessary import removed
...
Signed-off-by: Ahmad Kazemi <ahmad.kazemi@recordpoint.com>
unnecessary import removed
2020-01-16 12:20:03 +11:00
Ahmad Kazemi
d4c37d33d1
Signed-off-by: Ahmad Kazemi <ahmad.kazemi@recordpoint.com>
...
log.Printf replaced to fix the log issue.
2020-01-16 12:13:09 +11:00
Marc Khouzam
1a13366eb0
Merge pull request #6809 from VilledeMontreal/feat/compUseCache
...
feat(comp): Speed up completion of charts
2020-01-15 17:09:39 -05:00