Marc Khouzam
e3965e1185
fix(comp): Fix broken completion for --output flag
...
For commands using the new post-render flag, the completion for the
--output flag was broken.
For example:
helm install -o <TAB>
__helm_handle_reply:47: command not found: __helm_output_options
The bash __helm_output_options function is no longer used but was
referred to by mistake.
This commit removes the offending code.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Daniel Cheng
206d4a9053
add test for template recursion
...
Signed-off-by: Daniel Cheng <dcheng@us.ibm.com>
5 years ago
Daniel Cheng
8528548441
fix recursion count in templates
...
Signed-off-by: Daniel Cheng <dcheng@us.ibm.com>
5 years ago
Matt Butcher
9daca76f16
fixed missing bullet
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Butcher
593ea3fb12
Add ADOPTERS file, per CNCF requirements ( #7507 )
...
* Add ADOPTERS file, per CNCF requirements
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* Update ADOPTERS.md
Co-Authored-By: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* Update ADOPTERS.md
Co-Authored-By: Martin Hickey <martin.hickey@ie.ibm.com>
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* Update ADOPTERS.md
Signed-off-by: Marc Khouzam marc.khouzam@montreal.ca
Co-Authored-By: Marc Khouzam <marc.khouzam@gmail.com>
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
Co-authored-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
Co-authored-by: Martin Hickey <martin.hickey@ie.ibm.com>
Co-authored-by: Marc Khouzam <marc.khouzam@gmail.com>
5 years ago
Matthew Fisher
0977ded29a
bump version to v3.1
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
8b6233fc3e
fix(version): fix typo in doc comment
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Federico Bevione
077503f175
fix(helm): Reworded logs for clarity
...
Signed-off-by: Federico Bevione <f.bevione@cognitio.it>
5 years ago
Taylor Thomas
d3d1ceab4f
Merge pull request #7259 from thomastaylor312/feat/post-render
...
feat(*): Post render hooks for Helm
5 years ago
Taylor Thomas
cf7a02fac7
chore(*): Removes support for searching the plugin dir
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
7a3049a418
chore(postrender): Adds unit tests for exec post renderer
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
08fc12a8c3
Adds post-render support
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Matthew Fisher
09397f6b7d
Merge pull request #7552 from bacongobbler/fix-setnamespace
...
fix(memory_test): rebase master
5 years ago
Matthew Fisher
8e1fc4bc6f
fix(memory_test): rebase master
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 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
5 years ago
Matthew Fisher
b0a187756c
Merge pull request #7288 from mnkyl/lint-subcharts
...
feat(cmd/lint): added flag to lint dependent charts
5 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>
5 years ago
Marc Khouzam
e6d2d10bad
fix(tests): Add namespace support to memory driver
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 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
5 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>
5 years ago
Matthew Fisher
0dadbdc309
Merge pull request #7373 from Sh4d1/bypass_ns
...
add option to bypass kubeconfig namespace
5 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
5 years ago
Matt Farina
3582b03a91
Merge pull request #7542 from mattfarina/issue-7532
...
Fixes issue where <CHARTNAME> is left in starter values file
5 years ago
Matthew Fisher
51cd7a4362
Merge pull request #7277 from t2sa/feat/shasum
...
feat(checksum): Generate shasum/sha256sum -c compatible sha256 file
5 years ago
Matthew Fisher
e46c74d6b5
Merge pull request #7541 from nojnhuh/files-doc
...
Fix engine.newFiles doc comment
5 years ago
Jon Huhn
43e6285995
Fix engine.newFiles doc comment
...
Signed-off-by: Jon Huhn <huhnjon@gmail.com>
5 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>
5 years ago
Taylor Thomas
0dce5c1418
Merge pull request #7531 from thomastaylor312/fix/git_changes_on_test
...
fix(tests): Ignores tarball that will change on dep update
5 years ago
Taylor Thomas
15e2659191
fix(tests): Ignores tarball that will change on dep update
...
The unit test added to cover #7233 was causing changes to show up in git
when tests were ran. This was due to the dependency build creating a new
tarball. These changes would cause a dirty build when we build our major
versions, so I removed the subchart tarball from git and added the charts
folder for that test chart to the gitignore to avoid any future problems.
Based on all I can see, this should have any impact on the test itself
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Federico Bevione
438eaec971
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>
5 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>
5 years ago
Thilak Somasundaram
691eff46dc
Create a single shasums.txt
...
Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
5 years ago
Thilak Somasundaram
a9171fe2ca
Create a single shasums.txt
...
Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
5 years ago
Thilak Somasundaram
bf5419742d
Merge branch 'master' into feat/shasum
...
Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
5 years ago
Mike Tougeron
e78402d559
fix conflicts
...
Signed-off-by: Mike Tougeron <tougeron@adobe.com>
5 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>
5 years ago
Matthew Fisher
3ff3dabd9e
Merge pull request #6819 from bacongobbler/disable-openapi-validation
...
feat(install): introduce --disable-openapi-validation
5 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>
5 years ago
Marc Khouzam
1897d4d60a
fix(tests): Make tests pass on MacOS
...
This newly added tests was failing on MacOS because /proc does not
exist. This commit replaces /proc with /tmp to achieve the same result.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Matthew Fisher
ecc0070417
Merge pull request #7508 from karuppiah7890/fix-repo-index-test
...
fix(test) use newly created index instead of ignoring it
5 years ago
Karuppiah Natarajan
6cfcc96cea
fix(test) use newly created index instead of ignoring it
...
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
5 years ago
Yaakov Selkowitz
df20164cd2
Fix tests on arm64 and ppc64le ( #7500 )
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
5 years ago
Nick Lee
9a790c21dd
style(cmd/lint): removed slash in subcharts fp
...
Signed-off-by: Nick Lee <nmkyu.lee@gmail.com>
5 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
5 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>
5 years ago
Matthew Fisher
98cae60cff
Merge pull request #7329 from fenggw-fnst/work
...
Add corresponding unit test to the function in resolver.go
5 years ago
Matthew Fisher
831e50cb62
Merge pull request #7498 from nojnhuh/chart-go-typo
...
Fix typo
5 years ago
Jon Huhn
d70b50b3a1
Fix typo
...
Signed-off-by: Jon Huhn <huhnjon@gmail.com>
5 years ago
Martin Hickey
45d986327a
Tidy up go dependencies ( #7494 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Lee Bontecou
e483dce289
fix(template): helm template "--show-only" flag producing duplicates when flag used more than once ( #7204 )
...
* bugfix template show-only duplicates
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* 7203 - add unittests
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* attempt formatting fix
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* gofmt-ed with -s
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* goimports-ed with -local helm.sh/helm/v3 and gofmt-ed with -s -w
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* Update template_test.go
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
* Update template_test.go
Signed-off-by: Lee Bontecou <lbontecou@thezebra.com>
5 years ago