From 303f25c94d257a8695a3d9c9c4a101abfa62b891 Mon Sep 17 00:00:00 2001 From: Christopher Bale Date: Tue, 23 Jan 2024 14:14:28 +0100 Subject: [PATCH] Fix/add annotations to service template (#91) --- charts/ialacol/Chart.yaml | 2 +- charts/ialacol/templates/service.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/ialacol/Chart.yaml b/charts/ialacol/Chart.yaml index dbd8ee1..02beb46 100644 --- a/charts/ialacol/Chart.yaml +++ b/charts/ialacol/Chart.yaml @@ -3,4 +3,4 @@ appVersion: 0.13.0 description: A Helm chart for ialacol name: ialacol type: application -version: 0.14.0 +version: 0.15.0 diff --git a/charts/ialacol/templates/service.yaml b/charts/ialacol/templates/service.yaml index 7074566..86fc6ce 100644 --- a/charts/ialacol/templates/service.yaml +++ b/charts/ialacol/templates/service.yaml @@ -3,8 +3,9 @@ kind: Service metadata: name: {{ .Release.Name }} namespace: {{ .Release.Namespace | quote }} - {{- if .Values.service.annotations }} - annotations: {{ .Values.service.annotations }} + {{- with .Values.service.annotations }} + annotations: +{{ toYaml . | indent 4 }} {{- end }} spec: selector: