| Giorgi Lekveishvili | 3598266 | 2024-04-05 13:05:40 +0400 | [diff] [blame] | 1 | # Jenkins |
| 2 | |
| 3 | ## Configuration |
| 4 | |
| 5 | The following tables list the configurable parameters of the Jenkins chart and their default values. |
| 6 | |
| 7 | {{- define "chart.valueDefaultColumnRender" -}} |
| 8 | {{- $defaultValue := (trimAll "`" (default .Default .AutoDefault) | replace "\n" "") -}} |
| 9 | `{{- $defaultValue | replace "\n" "" -}}` |
| 10 | {{- end -}} |
| 11 | |
| 12 | {{- define "chart.typeColumnRender" -}} |
| 13 | {{- .Type -}} |
| 14 | {{- end -}} |
| 15 | |
| 16 | {{- define "chart.valueDescription" -}} |
| 17 | {{- default .Description .AutoDescription }} |
| 18 | {{- end -}} |
| 19 | |
| 20 | {{- define "chart.valuesTable" -}} |
| 21 | | Key | Type | Description | Default | |
| 22 | |:----|:-----|:---------|:------------| |
| 23 | {{- range .Values }} |
| 24 | | [{{ .Key }}](./values.yaml#L{{ .LineNumber }}) | {{ template "chart.typeColumnRender" . }} | {{ template "chart.valueDescription" . }} | {{ template "chart.valueDefaultColumnRender" . }} | |
| 25 | {{- end }} |
| 26 | {{- end }} |
| 27 | |
| 28 | {{ template "chart.valuesSection" . }} |