Skip to content

Commit

Permalink
required and docs in helm
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Weyrich committed Oct 28, 2024
1 parent 659e1a0 commit 5275ee9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,24 @@ Not all cli command support ignoring or setting ca certs (*e.g. `helm dependency

[Helm template guide](https://helm.sh/docs/chart_template_guide/) gives a quick overview of the flow control and the available template functions. Under the hood helm uses a mix of [Go template language](https://pkg.go.dev/text/template?utm_source=godoc) and [Sprig template library](https://masterminds.github.io/sprig/).

### required values

```yaml
value: {{ required "A valid .Values.who entry required!" .Values.who }}
```
### doc in values.yaml
see [best practices](https://helm.sh/docs/chart_best_practices/values/#document-valuesyaml)
```yaml
# serverHost is the host name for the webserver
serverHost: example
# serverPort is the HTTP listener port for the webserver
serverPort: 9191
```
### range
- [Different examples with result](https://kb.novaordis.com/index.php/Helm_Template_range)
Expand Down

0 comments on commit 5275ee9

Please sign in to comment.