From 7c7da467396d21d8b081126213dade1e8a875066 Mon Sep 17 00:00:00 2001 From: Joe Sirianni Date: Tue, 16 Apr 2024 15:03:12 -0400 Subject: [PATCH] fix nats service annotation indent --- charts/bindplane/templates/service.yaml | 2 +- test/cases/nats/values.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/bindplane/templates/service.yaml b/charts/bindplane/templates/service.yaml index 88a2dfdf..b1c4b245 100644 --- a/charts/bindplane/templates/service.yaml +++ b/charts/bindplane/templates/service.yaml @@ -35,7 +35,7 @@ metadata: namespace: {{ .Release.Namespace }} annotations: {{- if .Values.service.annotations }} - {{ toYaml .Values.service.annotations | indent 4 }} +{{ toYaml .Values.service.annotations | indent 4 }} {{- end }} labels: app.kubernetes.io/name: {{ include "bindplane.name" . }} diff --git a/test/cases/nats/values.yaml b/test/cases/nats/values.yaml index 69ecc1a9..4d444ae0 100644 --- a/test/cases/nats/values.yaml +++ b/test/cases/nats/values.yaml @@ -1,3 +1,7 @@ +service: + annotations: + a: b + extraEnv: - name: BINDPLANE_LOGGING_LEVEL value: debug