Commit Graph
40 Commits
Author SHA1 Message Date
Patrick Lang af4c14b593 Update docs/examples to use multi-arch tagged images (#5099)
* update nginx example to work multi-arch

Signed-off-by: Patrick Lang <patrick.lang@hotmail.com>

* Fix alpine to use a multiarch tag

Signed-off-by: Patrick Lang <patrick.lang@hotmail.com>
2019-01-21 21:33:57 -08:00
Erik Sundell eb96576b8d Reform indentation practices using nindent (#4562)
The essence of this commit is to help people get started with a better
indentation practice than this:

```yaml
spec:
  labels:
{{ toYaml .Values.labels | indent 4 }}
```

The previous indentation practice is harder to read. Instead this commit
introduces an indentation practice using `nindent` like this:

```yaml
spec:
  labels:
    {{- toYaml .Values.labels | nindent 4 }}
```

Signed-off-by: Erik Sundell <erik.i.sundell@gmail.com>
2018-11-06 21:03:44 -08:00
Carlos Tadeu Panato Junior 71ba25a5a9 change kubernetes to helm in docs and yaml files when refer the repository (#4640)
Signed-off-by: cpanato <ctadeu@gmail.com>
2018-09-14 07:36:11 -07:00
Matt Farina 83e3571358 Merge branch 'master' into update-labels 2018-08-20 17:02:14 -04:00
Matt Butcher e8b003af9a docs(alpine): quote release label value (#4460)
Labels should be quoted so that values such as "true" or "1" are not
interpolated to the wrong type.
2018-08-10 15:26:53 -06:00
Matt Farina e328d00a2f Updating to the k8s label convention
Closes #4335

Signed-off-by: Matt Farina <matt@mattfarina.com>
2018-08-08 12:21:38 -04:00
radbaron 4e29c7e2fd Documentation: add syntax highlighting to code examples & fix spelling of kube primitives 2018-05-29 15:28:04 +01:00
Matthew Fisher 01b404b68e fix kubeVersion example 2018-03-06 15:57:26 -08:00
Lukas Eichler a78336ad35 docs(helm): Added kubeVersion to documentation.
docs(helm): Added kubeVersion to documentation and examples.
Adjusted wording for the Chart.kubeVersion description
Removing redundant wording for Chart.kubeVersion description
2018-02-27 09:16:02 +01:00
Luis Cordova 724b3898a4 fix typo 2018-01-08 10:23:15 -05:00
Dhilip 67af4998de helm create all defined template names should be namespaced … (#2845)
* helm create all defined template names should be namespaced https://docs.helm.sh/chart_best_practices/#names-of-defined-templates

* Update Doc

* Update example
2017-10-06 09:04:53 -06:00
Reinhard Nägele 843e652472 Improve chart examples 2017-06-16 09:18:26 +02:00
William Martin Stewart 7143774a0f GitHub got more fussy about markdown 2017-06-02 10:00:05 +02:00
Matt Butcher 396f6cbcb2 feat(proto): add appVersion field
This provides a simple field to expose the version of the application
contained in a chart.

Closes #2036
2017-03-07 14:48:24 -07:00
Michelle Noorali bf9ae52e1c ref(*): change test hook to be test-success 2017-02-02 12:23:52 -05:00
Michelle Noorali d46d63a8f7 feat(*): add helm test command mvp
* This is a simple mvp which processes a test definition with the
hook annotation for test when you run `helm test [release]`
* helm client cmd, proto def, tiller logic
2017-01-31 20:57:27 -05:00
Steve Wilkerson 141a401c48 docs(helm): change trunc 24 in base charts
The upper limit for a chart name is 63 characters now instead of
14 or 24 in older versions of Kubernetes. This replaces `trunc 24`
in the example chart provided to `trunc 63` to reflect the new
length available.

Closes #1637
2016-12-21 11:18:33 -06:00
Adam Reese 0c6b6d1c62 fix(*): correct file permissions on source files 2016-12-07 09:09:38 -08:00
John Hofman c38fb120bf fix(helm): add trimSuffix to helper functions 2016-12-05 10:01:25 +01:00
Michelle Noorali 8b551d474c chore(docs): fix nginx example templates 2016-10-17 11:42:47 -04:00
Travis Cline 01529001ca simplify example container names
This encourages people from making container names depend on release
names.
2016-08-18 11:14:30 -07:00
Matt Butcher e91bbceff2 Merge pull request #916 from technosophos/feat/901-hooks
feat(tiller): support hooks for install
2016-07-06 16:45:21 -06:00
Matt Butcher ff32062ae8 feat(tiller): support hooks for install 2016-07-06 16:10:31 -06:00
Michelle Noorali ebaf5a2243 chore(docs): update "Name" field in values.yaml
* the template refers to .Values.Name but the
values.yaml file has a name field with a lowercase
"n". Figured changing this is the right move since
yaml is case sensitive.
2016-06-28 22:07:41 -06:00
Matt Butcher 628e0b7cec fix(docs): fix nginx example chart name
The name was not correctly truncating, which occasionally resulted
in naming errors, since Kubernetes restricts names to 24 characters.
2016-06-24 12:52:30 -06:00
Matt Butcher 22ac61469f feat(*): add Values namespace to templates
This adds the .Values namespace qualifier to all values
2016-06-24 12:06:52 -06:00
Miguel Martinez 81ac98ad9a Adding support for associated templates
Fixing unit test
2016-06-23 16:23:39 -07:00
Miguel Martinez 03d27779d3 Templates Lint rules
Template rules

Adding chart errors

Added function that checks the existence of all the values in the templates

Adding chartfile unit tests

Testing runLinterRule

Fixing out of range

Fixing out of range

Improving quote detector
2016-06-23 12:36:25 -07:00
Matt Butcher 5e63b5e925 docs(examples): unify the examples
As noted in #860, there were a few places where the alpine and nginx
charts differed. This unifies the two, using common labels and
conventions.
2016-06-22 12:14:16 -06:00
Matt Butcher e628b333b0 fix(example/nginx): add links, clarify a few things 2016-06-22 10:11:49 -06:00
Matt Butcher 15571a5a13 docs(examples): add nginx example chart
This adds an nginx chart that shows off more of the template system's
capabilities.
2016-06-21 16:32:12 -06:00
Miguel Martinez c2459c06bf New Chart linter structure
Fixed tests

Adding chart name linter

Add lint error

Moving to blocks

Moving to method

Moved lint rules to functions

Semantic version validation

Linting engine

Adding sources and home validations

Sharing file loading

Sharing file loading

Rolling back readme

Rewriting other linters

Fixing tests

Typo

Using chart.Metadata

Fixing format

Adding UNKNOWN in Engine

Adding tabs

Fixing tabs
2016-06-20 14:28:58 -07:00
Matt Butcher 0028aac321 fix(docs): add sources field on example chart.yaml 2016-06-08 13:16:47 -06:00
Matt Butcher 9ca8c27e16 fix(*): change TOML to YAML 2016-06-06 21:12:36 -06:00
Adam Reese 818c878700 chore(*): use k8s.io as the import path 2016-06-06 17:17:04 -07:00
Matt Butcher 6b68e7891f feat(tiller): delete operation runs against Kubernetes
Also fixed a minor formatting issue with Alpine chart in docs.
2016-05-05 16:46:31 -06:00
Matt Butcher 6db7c39b84 feat(helm, tiller): implement k8s portion of install
This commit finally ties `helm install` together with the Kubernetes
client library to make an end-to-end trip.

There were several small fixes to go on both client and server side,
along with some changes to proto to support better error reporting.

The alpine chart has been updated to exhibit how the new Helm works.
2016-05-04 17:27:00 -06:00
Matt Butcher 6950fe42dd feat(helm, tiller): add release listings
This adds client and server support for 'helm list'.
2016-05-02 20:09:44 -06:00
Matt Butcher f098cb6fb6 fix(*): rewrite import paths 2016-04-27 21:50:15 -06:00
Matt Butcher 95bc672629 docs(example): add example alpine chart. 2016-04-27 11:30:34 -06:00