Commit graph

682 commits

Author SHA1 Message Date
Matt Farina
2a06c2baba
Merge pull request #5684 from mattfarina/add-app-version
Add app version
2019-05-07 16:09:43 -04:00
Matt Farina
250b63eced
Updating the labels for consistency
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-05-07 14:13:29 -04:00
Luis Davim
82ffe56ca6
Reduce template code duplication. Fixes #5372
Signed-off-by: Luis Davim <luis.davim@jet.com>
2019-05-07 12:03:54 -04:00
Luis Davim
4425f86865
Add app.kubernetes.io/version label
Signed-off-by: Luis Davim <luis.davim@jet.com>
2019-05-07 11:59:49 -04:00
Matt Farina
af7eab0325
Updating to the k8s label convention
Closes #4335

Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-05-07 11:26:31 -04:00
Matthew Fisher
f39e3da306
Merge pull request #5656 from hickeyma/replace-k8s-helm
fix(docs): 'From Source' section in install doc
2019-05-07 08:06:57 -07:00
Matthew Fisher
b1ae1acc8b
Merge pull request #5283 from bacongobbler/purge-by-default
ref(uninstall): purge release history by default
2019-04-30 06:55:27 -07:00
Martin Hickey
4ad8b0cb00 Update from source section in install doc
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-04-29 09:59:22 +01:00
Marc Khouzam
3eef735305 docs: Replace reference to k8s.io to helm.sh
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
2019-04-26 15:27:00 -04:00
Ian Howell
ffff0e8c33 Feat/schema validation (#5350)
* Add the Schema type and a function to read it

* Added a function to read a schema from a file

* Check that values.yaml matches schema

This commit uses the gojsonschema package to validate a values.yaml file
against a corresponding values.schema.yaml file.

* Add functionality to generate a schema from a values.yaml

* Add Schema to Chart and loader

* Clean up implementation in chartutil

* Add tests for helm install with schema

* Add schema validation to helm lint

* Clean up "matchSchema"

* Modify error output

* Add documentation

* Fix a linter issue

* Fix a test that broke during a rebase

* Clean up documentation

* Specify JSONSchema spec

Since JSONSchema is still in a draft state as of this commit, we need to
specify a particular version of the JSONSchema spec

* Switch to using builtin functionality for file extensions

* Switch to using a third-party library for JSON conversion

* Use the constants from the gojsonschema package

* Updates to unit tests

* Minor change to avoid string cast

* Remove JSON Schema generation

* Change Schema type from map[string]interface{} to []byte

* Convert all Schema YAML to JSON

* Fix some tests that were broken by a rebase

* Fix up YAML/JSON conversions

* This checks subcharts for schema validation

The final coalesced values for a given chart will be validated against
that chart's schema, as well as any dependent subchart's schema

* Add unit tests for ValidateAgainstSchema

* Remove nonessential test files

* Remove a misleading unit test

The TestReadSchema unit test was simply testing the ReadValues function,
which is already being validated in the TestReadValues unit test

* Update documentation to reflect changes to subchart schemas
2019-04-26 08:45:03 -07:00
Adam Reese
e458a67f0c
ref(pkg/chart): add validation method to chart
Consolidate validation of Chart.yaml.

Signed-off-by: Adam Reese <adam@reese.io>
2019-04-05 13:40:06 -07:00
Adam Reese
d4323c1da8
Merge pull request #5529 from ian-howell/docs/V2toV3
docs: Update the "Developer Guide"
2019-04-01 11:44:33 -07:00
Martin Hickey
030fef5765 Fix docs targets
Update to the `docs` and `verify-docs` targets for v3.

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-04-01 11:40:44 +01:00
Martin Hickey
46e6539e63 Remove docs target and generated docs folder
It would seem that generated docs were removed in `5048ed8`

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-04-01 10:07:42 +01:00
Martin Hickey
d59835fb67 Fix make docs target
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-04-01 10:07:42 +01:00
Ian Howell
8f87eb1fac docs: Update the "Developer Guide"
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
2019-03-29 14:08:36 -05:00
Matthew Fisher
0805a87140
ref(uninstall): purge release history by default
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-03-25 09:30:58 -07:00
Matthew Fisher
f7f6941f16
Merge pull request #5447 from bacongobbler/helm-3-faq
docs(faq): list changes since Helm 2
2019-03-15 09:28:56 -07:00
Matthew Fisher
f8e7295867
docs(faq): list changes since Helm 2
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-03-14 10:36:10 -07:00
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
Signed-off-by: Adam Reese <adam@reese.io>
2019-03-13 13:43:47 -07:00
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-03-12 09:47:12 -07:00
Matthew Fisher
2a82e6cbe6
docs: s,kubernetes/helm,helm/helm,g (#5404)
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-03-05 11:57:39 -08:00
Matthew Fisher
dcc8aa5bb9
docs: consolidate FAQs into one doc (#5402)
consolidating all of the frequently asked questions into one doc makes it easier for others to find out if their question has already been answered.

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-03-05 10:48:04 -08:00
Martin Hickey
b5f04eec04 Update the docs
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-02-15 09:10:41 +00:00
Sven van Heugten
480a83206f feat(helm): add --plugins flag to 'helm init' (#5109)
Allow specifying a set of plugins in a yaml file that will be installed during
the `helm init` process.

Closes #5079.

Signed-off-by: Sven van Heugten <svenvanheugten@home.nl>
2019-02-08 08:16:22 -08:00
Adam Reese
28d8c7b277
ref(*): remove references to chart 'engine'
Signed-off-by: Adam Reese <adam@reese.io>
2019-02-04 16:08:14 -08:00
Martin Hickey
86d8596763 Feature(Plugins): Enable platform specific commands (#5176)
* Add logic for platform specific commands to plugins
* Add plugins doc updated to incorporate platform specific commands
* Add condition for os match:  If OS matches and there is no more specific match, the command
will be executed
2019-01-16 21:52:58 -08:00
Adam Reese
dee2a1a000
Merge pull request #5091 from splisson/doc5083
Doc: Update docs with the merged Chart.yaml and requirements.yaml fixes #5083
2019-01-11 20:30:18 -08:00
Adam Reese
d94707db86
ref(*): remove helmVersion chart constraint
* Remove helmVersion constraint from charts
* Guard compile time set variables behind `internal/`
* Allow configuration of UserAgent for HTTPGetter

Signed-off-by: Adam Reese <adam@reese.io>
2019-01-08 13:37:55 -08:00
Sebastien Plisson
25adb16388 Changed requirements.yaml references to dependencies section references
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
2018-12-20 11:31:44 -08:00
Sebastien Plisson
793ebf16ea Updated change from requirements.yaml to dependencies field in Chart.yaml
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
2018-12-20 11:02:22 -08:00
roc
79f88dfc5e ref(url) update helm's github url (#4962)
https://github.com/kubernetes/helm -> https://github.com/helm/helm
https://github.com/kubernetes/charts -> https://github.com/helm/charts

Signed-off-by: Roc Chan <roc@imroc.io>
2018-11-28 10:08:38 -08:00
Martin Hickey
82c154e2ae doc(helm): remove Tiller reference from the docs (#4788)
* Remove Tiller reference from the docs

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>

* Update comments after review

- https://github.com/helm/helm/pull/4788#discussion_r226037034
- https://github.com/helm/helm/pull/4788#discussion_r226037064
- https://github.com/helm/helm/pull/4788#discussion_r226037806
- https://github.com/helm/helm/pull/4788#discussion_r226038492
- https://github.com/helm/helm/pull/4788#discussion_r226039202
- https://github.com/helm/helm/pull/4788#discussion_r226039894

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2018-10-18 10:30:39 -07:00
Matt Butcher
1ce594f410
ref(helm): rename fetch to pull (#4714)
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2018-09-28 12:37:57 -06:00
Adam Reese
f012940d9c
ref(*): refactor chart/chartutil
ref(chartutil): move chart loading out of chartutil into new package
    add chart loader interface to allow lazy loading
feat(chart): create chart accessors
ref(*): cleanup requirements
ref(tiller): remove optional template engines
ref(tiller): simplify sorting releases and hooks
ref(*): code simplification
ref(hapi): move chart package out of hapi
ref(chart): add requirements and lock to Chart struct
2018-08-24 11:28:29 -07:00
Matthew Fisher
195d21d5d7
ref(cmd): rename helm delete to helm uninstall
To match the convention of `helm install`, `helm uninstall` is the inverse.

Other tangential changes in this PR:

- StatusDeleting has been changed to StatusUninstalling
- StatusDeleted has been changed to StatusUninstalled
- `helm list --deleted` has been changed to `helm list --uninstalled`
- `helm list --deleting` has been changed to `helm list --uninstalling`
- `helm.DeleteOption` and all delete options have been renamed to `helm.UninstallOption`

I have not made any changes to the "helm.sh/hook-delete-policy", "pre-delete" and "post-delete" hook annotations because

1. it's a major breaking change to existing helm charts, which we've commited to NOT break in Helm 3
2. there is no "helm.sh/hook-install-policy" to pair with "helm.sh/hook-uninstall-policy", so delete still makes sense here

`helm delete` and `helm del` have been added as aliases to `helm uninstall`, so `helm delete` and `helm del` still works as is.
2018-06-14 15:46:00 -07:00
Adam Reese
aa859e3f88
feat(*): remove Time, Namespace, and Revision from template functions
Removes Time, Namespace, and Revision from being exposed to templates to
make template rendering discrete and repeatable.
2018-05-18 12:09:54 -07:00
Adam Reese
840c489c6b
feat(dep): replace glide with dep 2018-04-23 12:47:02 -07:00
Adam Reese
29e772f631
ref(*): replace TillerVersion with HelmVersion 2018-04-20 00:37:34 -07:00
Adam Reese
5048ed8f5c
docs(generated): remove generated docs 2018-04-16 23:16:43 -07:00
Adam Reese
358746fee6
ref(*): remove HELM_HOST 2018-04-16 23:16:43 -07:00
Matthew Fisher
00afbd7e74
remove optional field from charts and templates 2018-04-11 14:47:33 -07:00
Manuel Rüger
87cd8ce79a Remove Mercurial build-time dependency
Since the only dep (bitbucket.org/ww/goautoneg) that required it is gone in
845e990143 (diff-f16a80eae23d5b298c2652448ec420cfL4)
2018-04-11 18:38:47 +02:00
xianlubird
4b09b0489b Fix some typo
Signed-off-by: xianlubird <xianlubird@gmail.com>
2018-04-11 20:51:58 +08:00
AdamDang
79ffa98ec0
Proper none not in capitals
Helm is a proper none, should be written in capitals.
2018-04-10 23:54:19 +08:00
Erik Sundell
3f5e82c832
Typo fix
`*/ }}` would cause an error actually, one must use `*/}}` or `*/ -}}`. Not obvious at all.
2018-04-08 23:18:47 +02:00
Taylor Thomas
85282ab864 fix(docs): Add the missing docs
Because I was too stupid to regen the docs and flake made it so we
didn't get a reminder
2018-04-06 16:33:38 -07:00
Matthew Fisher
2e309df08f
Merge pull request #3836 from bacongobbler/rename-to-crd
rename TPR to CRD
2018-04-06 12:20:34 -07:00
Matthew Fisher
d078caa0d0
Merge pull request #3471 from adshmh/add-set-and-values-options-to-helm-package
feat: add --set and --values options to 'helm package'
2018-04-06 09:56:21 -07:00
Stefan Henseler
c6faed101b Updates readme with choco install command 2018-04-05 23:51:21 +02:00