Commit graph

4660 commits

Author SHA1 Message Date
Matt Farina
ec31f13ee9
Merge pull request #6244 from waveywaves/feature/helmenv
(feature/helm-env) `helm env`
2019-09-04 13:38:12 -04:00
Matt Butcher
0f332b67f1
fix: clear the discovery cache after CRDs are installed (#6332)
* fix: clear the discovery cache after CRDs are installed

This fixes an issue in which a chart could not contain both a CRD and an instance of that CRD. It works around a stale cache by force cache invalidation whenever a CRD is added.

Closes #6316

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* fix: wait for CRD to register before allowing CRDs to be installed

This fixes an issue with the previous version of this patch in which the CRD would not be available quickly enough.

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* feat: use Wait() to wait for CRDs to be ready

This forward-ports the CRD wait logic to Helm 3, and then uses that to wait for CRDs to be registered.

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* ref: moved the scheme modification to an appropriate place.

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* fix: turned warnings into fatal errors, fixed spelling, clear cache once

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2019-09-04 08:32:24 -06:00
Matt Farina
01adf0d7a3
Merge pull request #6255 from waveywaves/fix/6237
(fix/issue-6237) Add check to see if connected to the kubernetes cluster
2019-09-04 09:17:23 -04:00
Taylor Thomas
e54aaece32
Merge pull request #6335 from VilledeMontreal/doc-v3/helmEnv
doc(cli): restore help text for helm configuration
2019-09-03 18:07:41 -06:00
Adam Reese
64c9ee8b07
Merge pull request #6351 from adamreese/ref/cleanup-unused
ref(pkg/engine): cleanup of development `hack`
2019-09-03 17:05:09 -07:00
Adam Reese
4fcc876786
ref(pkg/engine): cleanup of development hack
This was left in from some of the chart builder work.  I forgot to
remove it.

Signed-off-by: Adam Reese <adam@reese.io>
2019-09-03 15:31:58 -07:00
Taylor Thomas
0b22b27aa2
Merge pull request #6321 from itowlson/repository-flags-doc-strings
Distinct doc strings for repository-cache and repository-config
2019-09-03 09:31:00 -06:00
Marc Khouzam
6cc1bd2ef4 Poposal: Hook to run acceptance tests (#6256)
* Allow to run acceptance tests from main Helm repo

To run the acceptance tests, one can now do:
   make test-acceptance

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>

* Allow to run completion tests from main Helm repo

To run the completion tests, one can now do:
   make test-completion

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>

* Use the word 'clone' instead

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>

* Use test-acceptance-completion naming

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
2019-09-03 10:34:55 +01:00
Anton
98a6fc5a3a fix BusyBox sed (#6340)
BusyBox sed works the same way as GNU sed

Signed-off-by: tipok <me@tipok.pro>
2019-09-03 09:44:29 +01:00
Ivan Towlson
cd42b26a6a Distinct doc strings for repository-cache and repository-config
Signed-off-by: Ivan Towlson <itowlson@microsoft.com>
2019-09-02 09:19:29 +12:00
Marc Khouzam
cdcb80709e doc(cli): restore help text for helm configuration
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
2019-09-01 12:47:33 -04:00
Matt Butcher
5bf7ca688f
docs: Add best practices compliance badge (#6320)
This is now required by CNCF for graduation from incubation.

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2019-08-30 13:06:38 -06:00
Vibhav Bobade
66b037f6be Move the logic for checking env in pkg/cli and store all envs in a central place
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-30 23:09:50 +05:30
Vibhav Bobade
586780d034 Updated to get Helm env Paths and XDG env paths only
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-30 21:25:54 +05:30
Vibhav Bobade
0cc1d31ac2 Logic for the helm env command
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-30 21:25:54 +05:30
Marc Khouzam
2aa4a6bc92 helm-v3: Dynamic completion for "helm repo" and "helm plugin" (#6263)
* Add dynamic completion for 'helm repo remove'

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>

* fix: --home flag has been removed

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>

* Dynamic completion for 'helm plugin remove/update'

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>

* Add returns for consitency

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
2019-08-30 15:34:58 +01:00
Adam Reese
26c7338408
Merge pull request #6308 from adamreese/fix/repos
fix(cmd/helm): user friendly error message when repos are not configured
2019-08-28 15:01:53 -07:00
Adam Reese
fe92480ab4
fix(cmd/helm): user friendly error message when repos are not configured
Signed-off-by: Adam Reese <adam@reese.io>
2019-08-28 14:13:49 -07:00
Adam Reese
c19253d7cd
Revert "fix(cmd/helm): user friendly error message when repos are not configured"
This reverts commit c4b76f27de.
2019-08-28 09:51:59 -07:00
Adam Reese
c4b76f27de
fix(cmd/helm): user friendly error message when repos are not configured
Signed-off-by: Adam Reese <adam@reese.io>
2019-08-28 09:46:12 -07:00
Marc Khouzam
f46df928cf fix(cmd/helm): Missing params for dir locations (#6300)
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
2019-08-28 11:26:21 +01:00
Marc Khouzam
9df067d9d9 fix(cmd/helm): Remove mention of init from help (#6298)
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
2019-08-27 22:04:19 +01:00
Akash Shinde
8f3fd753ad Fix: set config dir in repo update cmd (#6292)
Signed-off-by: akashshinde <akashshinde159@gmail.com>
2019-08-27 11:55:44 +01:00
Vibhav Bobade
d00e328020 Applied check to actions
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-27 04:16:02 +05:30
Vibhav Bobade
5a07055645 Add IsReachable to /pkg/kube/client to see if connected to the internet
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-27 04:11:04 +05:30
Adam Reese
27e70c8f1d
Merge pull request #6286 from adamreese/chore/gpg
chore(*): Add GPG key for Adam
2019-08-26 14:40:47 -07:00
Adam Reese
5d1a032bba
chore(*): Add GPG key for Adam
Signed-off-by: Adam Reese <adam@reese.io>
2019-08-26 13:34:09 -07:00
Adam Reese
f76b5f21ad
Merge pull request #6272 from adamreese/feat/initless
feat(cmd/helm): remove need for helm init command
2019-08-26 10:26:11 -07:00
Adam Reese
1779ad5302
ref(cmd/helm): remove init command
Signed-off-by: Adam Reese <adam@reese.io>
2019-08-26 10:21:52 -07:00
Josh Dolitsky
af06037d23
chore(registry): upgrade to oras v0.7.0 (#6285)
Also:
* add --insecure flag to "registry login"
* fix bug parsing correct tag when port number present

Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
2019-08-26 11:29:01 -05:00
Matthew Fisher
3b6c4e9b81 chore(OWNERS): sync with master (#6224)
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-26 11:29:03 +01:00
Adam Reese
b6fdd8783b
feat(cmd/helm): remove need for helm init command
* allow repository config via cli
* make `helm repo add` create repo config file if it does not exist
* squash a ton of bugs

Signed-off-by: Adam Reese <adam@reese.io>
2019-08-22 23:31:50 -07:00
Matt Farina
fba311ba23
Merge pull request #6243 from technosophos/feat/5871-crds-directory
feat: Add support for a crds/ directory
2019-08-20 11:38:28 -04:00
Taylor Thomas
7466c4ee3b
Merge pull request #6241 from waveywaves/fix/issue-6079
Clone the vals map for every path to avoid mutation
2019-08-20 09:31:34 -06:00
Vibhav Bobade
68a8f36a92 Fix Adding Errors from Linter.Messages to result.Errors
This also fixes <nil> beig added to result.Errors

Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-20 04:22:17 +05:30
Adam Reese
921806b915
Merge pull request #6254 from adamreese/ref/code-cleanup
ref(*): remove dead code
2019-08-19 13:21:31 -07:00
Adam Reese
b2d5e41fc7
ref(*): remove dead code
Signed-off-by: Adam Reese <adam@reese.io>
2019-08-19 10:22:27 -07:00
Matt Farina
2540c4ec80
Merge pull request #6253 from VilledeMontreal/fix-v3/helpRepoUpdate
Remove mention of 'helm update'
2019-08-19 10:24:48 -04:00
Vibhav Bobade
9ab927f0bb Test for Linting multiple charts with the same vals instance
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-19 04:25:14 +05:30
Vibhav Bobade
7da1f35386 Clone the vals map for every path to avoid mutation
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-19 04:25:01 +05:30
Marc Khouzam
bd4ffb5514 Remove mention of 'helm update'
'helm update' is removed in v3.

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
2019-08-17 20:24:08 -04:00
Matt Butcher
98426d6ad3
feat: Add support for a crds/ directory
Closes #5871

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2019-08-16 16:26:55 -06:00
Taylor Thomas
f73e3235c2
Merge pull request #6225 from thomastaylor312/chore/add_key
chore(*): Add GPG key for Taylor
2019-08-15 10:20:43 -06:00
Taylor Thomas
91c1b8b086 chore(*): Add GPG key for Taylor
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-08-15 09:52:06 -06:00
Taylor Thomas
aeb303f390
Merge pull request #6228 from thomastaylor312/fix/go1.12.8
fix(registry): Updates registry to handle go 1.12.8 changes
2019-08-15 09:50:52 -06:00
Taylor Thomas
16544c8190 fix(registry): Updates registry to handle go 1.12.8 changes
Go 1.12.8 introduced some breaking fixes (see 3226f2d492)
for a CVE. This broke the way we were doing registry reference parsing.
This removes the call to the containerd libraries in favor of our own
parsing and adds additional unit tests

Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-08-15 09:36:51 -06:00
Matthew Fisher
130f7934ff
Merge pull request #6219 from bacongobbler/fix-5912
fix(chartutil): remove executable bits from chartutil generated files
2019-08-13 16:42:31 -07:00
Matthew Fisher
d99edbfb3e
fix(chartutil): remove executable bits from chartutil generated files
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-13 16:31:08 -07:00
Matthew Fisher
d69139afa5
Merge pull request #6217 from bacongobbler/implement-cleanup
fix(test): restore --cleanup
2019-08-13 16:09:20 -07:00
Matthew Fisher
4c4b10668a
ref(test): join all hook manifests before building
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-13 16:04:08 -07:00