Files
devops-infra-helm-charts-gcp/helm-templates/victoria-metrics-auth/templates/_helpers.tpl
T
2026-08-26 03:39:42 +05:30

9 lines
381 B
Smarty

{{- define "vmauth.args" -}}
{{- $args := default dict -}}
{{- $Values := (.helm).Values | default .Values }}
{{- $_ := set $args "auth.config" "/config/auth.yml" -}}
{{- $args = mergeOverwrite $args (fromYaml (include "vm.license.flag" .)) -}}
{{- $args = mergeOverwrite $args $Values.extraArgs -}}
{{- toYaml (fromYaml (include "vm.args" $args)).args -}}
{{- end -}}