This commit is contained in:
11
helm/charts/helm-library/templates/helpers/_converter.tpl
Normal file
11
helm/charts/helm-library/templates/helpers/_converter.tpl
Normal file
@ -0,0 +1,11 @@
|
||||
{{- define "lib.helpers.convertToJson" -}}
|
||||
{{ toString (toJson . ) }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "lib.helpers.convertToToml" -}}
|
||||
{{ toString (toToml .) }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "lib.helpers.convertToYaml" -}}
|
||||
{{ toString (toYaml .) }}
|
||||
{{- end -}}
|
Reference in New Issue
Block a user