Commit graph

5254 commits

Author SHA1 Message Date
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>
2020-02-07 11:52:04 -07:00
Taylor Thomas
d3d1ceab4f
Merge pull request #7259 from thomastaylor312/feat/post-render
feat(*): Post render hooks for Helm
2020-02-07 10:54:59 -07: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
09397f6b7d
Merge pull request #7552 from bacongobbler/fix-setnamespace
fix(memory_test): rebase master
2020-02-07 09:28:40 -08: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
Matthew Fisher
51cd7a4362
Merge pull request #7277 from t2sa/feat/shasum
feat(checksum): Generate shasum/sha256sum -c compatible sha256 file
2020-02-06 09:24:43 -08:00
Matthew Fisher
e46c74d6b5
Merge pull request #7541 from nojnhuh/files-doc
Fix engine.newFiles doc comment
2020-02-06 09:17:10 -08: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
Taylor Thomas
0dce5c1418
Merge pull request #7531 from thomastaylor312/fix/git_changes_on_test
fix(tests): Ignores tarball that will change on dep update
2020-02-05 17:19:20 +01:00
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>
2020-02-05 16:50:33 +01: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
Thilak Somasundaram
691eff46dc Create a single shasums.txt
Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
2020-02-04 22:34:10 -08:00
Thilak Somasundaram
a9171fe2ca Create a single shasums.txt
Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
2020-02-04 22:24:57 -08:00
Thilak Somasundaram
bf5419742d Merge branch 'master' into feat/shasum
Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
2020-02-04 22:05:14 -08: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
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>
2020-02-03 09:20:55 -05:00
Matthew Fisher
ecc0070417
Merge pull request #7508 from karuppiah7890/fix-repo-index-test
fix(test) use newly created index instead of ignoring it
2020-02-02 21:43:52 -08:00
Karuppiah Natarajan
6cfcc96cea
fix(test) use newly created index instead of ignoring it
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
2020-02-01 14:29:38 +05:30
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
Nick Lee
9a790c21dd style(cmd/lint): removed slash in subcharts fp
Signed-off-by: Nick Lee <nmkyu.lee@gmail.com>
2020-01-30 15:37:16 -05: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
Matthew Fisher
98cae60cff
Merge pull request #7329 from fenggw-fnst/work
Add corresponding unit test to the function in resolver.go
2020-01-30 10:31:43 -08:00
Matthew Fisher
831e50cb62
Merge pull request #7498 from nojnhuh/chart-go-typo
Fix typo
2020-01-30 09:03:10 -08:00
Jon Huhn
d70b50b3a1
Fix typo
Signed-off-by: Jon Huhn <huhnjon@gmail.com>
2020-01-30 09:50:59 -06:00
Martin Hickey
45d986327a
Tidy up go dependencies (#7494)
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2020-01-30 12:00:57 +00:00
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>
2020-01-30 11:24:09 +00: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
Marc Khouzam
4f4779ca3a fix(comp): Allow zsh completion to handle -n flag
When doing zsh completion, the -n flag would not be handled properly.
Doing
  helm -n<TAB>
would not add the space after the -n.
This was caused by the fact that the -n flag was being swallowed by
the echo command.

To fix this, we use printf instead.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2020-01-28 17:22:11 -05:00
Matt Farina
7193b5a2be
Merge pull request #7478 from mattfarina/security-file
Adding security file
2020-01-28 16:39:50 -05:00
Matt Farina
a704ba7e20
Adding security file
This file:
- Shows up in the GitHub UI under the new security tab
- Points to our common process documented in the community repo.
  This follows the same pattern we use for the code of conduct

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-01-28 10:58:27 -05:00
Matthew Fisher
83847cc899
Merge pull request #7201 from bacongobbler/fix-6951
fix(package): remove --set, --values, etc. flags
2020-01-28 07:44:25 -08:00