From 81176d1eba3d001ab54e1d763d21da832ea451c9 Mon Sep 17 00:00:00 2001 From: matthias lachevre Date: Wed, 10 Jul 2024 11:13:01 +0200 Subject: [PATCH] (FIX) Fix unwanted space when pushing annotations to service --- charts/posthog/Chart.yaml | 2 +- charts/posthog/templates/events-service.yaml | 6 +++--- charts/posthog/templates/web-service.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/posthog/Chart.yaml b/charts/posthog/Chart.yaml index ee360c43d..a452e1e83 100644 --- a/charts/posthog/Chart.yaml +++ b/charts/posthog/Chart.yaml @@ -11,7 +11,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 30.46.0 +version: 30.47.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/charts/posthog/templates/events-service.yaml b/charts/posthog/templates/events-service.yaml index 89c982068..33897a689 100644 --- a/charts/posthog/templates/events-service.yaml +++ b/charts/posthog/templates/events-service.yaml @@ -4,9 +4,9 @@ kind: Service metadata: name: {{ template "posthog.fullname" . }}-events annotations: {{- include "_snippet-metadata-annotations-common" . | nindent 4 }} - {{- range $key, $value := .Values.service.annotations }} - {{ $key }}: {{ $value | quote }} - {{- end }} + {{- range $key, $value := .Values.service.annotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} labels: {{- include "_snippet-metadata-labels-common" . | nindent 4 }} spec: type: {{ .Values.service.type }} diff --git a/charts/posthog/templates/web-service.yaml b/charts/posthog/templates/web-service.yaml index c81949182..105e00fa5 100644 --- a/charts/posthog/templates/web-service.yaml +++ b/charts/posthog/templates/web-service.yaml @@ -6,7 +6,7 @@ metadata: labels: {{- include "_snippet-metadata-labels-common" . | nindent 4 }} annotations: {{- include "_snippet-metadata-annotations-common" . | nindent 4 }} {{- if .Values.service.annotations }} - {{ toYaml .Values.service.annotations | indent 4 }} + {{ toYaml .Values.service.annotations | indent 2 }} {{- end }} spec: type: {{ .Values.service.type }}