mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 17:07:04 +02:00
10 lines
286 B
Smarty
10 lines
286 B
Smarty
{{/* Common annotations shared across objects */}}
|
|
{{- define "common.annotations" -}}
|
|
{{- with .Values.global.annotations }}
|
|
{{- range $k, $v := . }}
|
|
{{- $name := $k }}
|
|
{{- $value := tpl $v $ }}
|
|
{{ $name }}: {{ quote $value }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end -}}
|