Commit 4b09b048 authored by xianlubird's avatar xianlubird Committed by xianlu

Fix some typo

Signed-off-by: 's avatarxianlubird <xianlubird@gmail.com>
parent 89815750
...@@ -105,7 +105,7 @@ data: ...@@ -105,7 +105,7 @@ data:
{{- end }} {{- end }}
``` ```
As mentioned above, **template names are global**. As a result of this, if two templates are declared with the same name the last occurance will be the one that is used. Since templates in subcharts are compiled together with top-level templates, it is best to name your templates with _chart specific names_. A popular naming convention is to prefix each defined template with the name of the chart: `{{ define "mychart.labels" }}`. As mentioned above, **template names are global**. As a result of this, if two templates are declared with the same name the last occurrence will be the one that is used. Since templates in subcharts are compiled together with top-level templates, it is best to name your templates with _chart specific names_. A popular naming convention is to prefix each defined template with the name of the chart: `{{ define "mychart.labels" }}`.
## Setting the scope of a template ## Setting the scope of a template
......
...@@ -850,7 +850,7 @@ considerations in mind: ...@@ -850,7 +850,7 @@ considerations in mind:
- The `Chart.yaml` will be overwritten by the generator. - The `Chart.yaml` will be overwritten by the generator.
- Users will expect to modify such a chart's contents, so documentation - Users will expect to modify such a chart's contents, so documentation
should indicate how users can do so. should indicate how users can do so.
- All occurences of `<CHARTNAME>` will be replaced with the specified chart - All occurrences of `<CHARTNAME>` will be replaced with the specified chart
name so that starter charts can be used as templates. name so that starter charts can be used as templates.
Currently the only way to add a chart to `$HELM_HOME/starters` is to manually Currently the only way to add a chart to `$HELM_HOME/starters` is to manually
......
...@@ -134,7 +134,7 @@ downloaders: ...@@ -134,7 +134,7 @@ downloaders:
If such plugin is installed, Helm can interact with the repository using the specified If such plugin is installed, Helm can interact with the repository using the specified
protocol scheme by invoking the `command`. The special repository shall be added protocol scheme by invoking the `command`. The special repository shall be added
similarily to the regular ones: `helm repo add favorite myprotocol://example.com/` similarly to the regular ones: `helm repo add favorite myprotocol://example.com/`
The rules for the special repos are the same to the regular ones: Helm must be able The rules for the special repos are the same to the regular ones: Helm must be able
to download the `index.yaml` file in order to discover and cache the list of to download the `index.yaml` file in order to discover and cache the list of
available Charts. available Charts.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment