Helm Template Function kindIs

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

{{- if kindIs "float64" .Values.myValue -}}
    {{- if .Values.myValue -}}
        {{- .Values.myValue -}}
    {{- else -}}
        0
    {{- end -}}
{{- end -}}