mirror of
https://github.com/truenas/charts.git
synced 2024-04-21 15:21:45 +00:00
int value from tpl
This commit is contained in:
@@ -59,7 +59,7 @@ tests:
|
||||
some_host: some_host
|
||||
some_scheme: HTTPS
|
||||
some_path: /api/v1
|
||||
some_value: some_value
|
||||
some_value: 123
|
||||
workload:
|
||||
workload-name:
|
||||
enabled: true
|
||||
@@ -103,7 +103,7 @@ tests:
|
||||
host: some_host
|
||||
httpHeaders:
|
||||
- name: key
|
||||
value: some_value
|
||||
value: "123"
|
||||
preStop:
|
||||
exec:
|
||||
command:
|
||||
|
||||
@@ -35,7 +35,7 @@ httpGet:
|
||||
{{- fail "Container - Expected non-empty <value> on <httpHeaders>" -}}
|
||||
{{- end }}
|
||||
- name: {{ $name }}
|
||||
value: {{ tpl $value $rootCtx }}
|
||||
value: {{ tpl (toString $value) $rootCtx | quote }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user