Changed/added helper functions to detect if the annotations value
is a string or yaml, and apply `tpl` or `toYaml`
accordingly. Defaults are left as `{}` since yaml is more likely
to be used with helm on the command line. This means a warning
will be shown when setting an annotation to a multi-line
string (which has been the existing behavior).
9 lines
174 B
YAML
9 lines
174 B
YAML
server:
|
|
annotations: |
|
|
environment: production
|
|
milk: oat
|
|
myName: "{{ .Release.Name }}"
|
|
service:
|
|
annotations:
|
|
active: sometimes
|
|
pickMe: please
|