From 15837434bac328626184a2d636f9e6b6921eba2d Mon Sep 17 00:00:00 2001 From: Aaron Delaney Date: Thu, 27 Jun 2024 12:03:32 +0100 Subject: [PATCH] tempo-vulture: fix yaml indentation error Using the following values: tempoAddress: push: "http://p" query: "http://q" annotations: foo: bar baz: fop helm template produced yaml that looked like: annotations: baz: fop foo: bar The reason was that it was using indent, instead of nindent. Signed-off-by: Aaron Delaney --- charts/tempo-vulture/templates/deployment.yaml | 2 +- charts/tempo-vulture/templates/service.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/tempo-vulture/templates/deployment.yaml b/charts/tempo-vulture/templates/deployment.yaml index 5ef3089291..2da934e3ad 100644 --- a/charts/tempo-vulture/templates/deployment.yaml +++ b/charts/tempo-vulture/templates/deployment.yaml @@ -6,7 +6,7 @@ metadata: {{- include "tempo-vulture.labels" . | nindent 4 }} {{- with .Values.annotations }} annotations: - {{- toYaml . | indent 4 }} + {{- toYaml . | nindent 4 }} {{- end }} spec: minReadySeconds: 10 diff --git a/charts/tempo-vulture/templates/service.yaml b/charts/tempo-vulture/templates/service.yaml index 706ca0b8be..16c02de679 100644 --- a/charts/tempo-vulture/templates/service.yaml +++ b/charts/tempo-vulture/templates/service.yaml @@ -6,7 +6,7 @@ metadata: {{- include "tempo-vulture.labels" . | nindent 4 }} {{- with .Values.annotations }} annotations: - {{- toYaml . | indent 4 }} + {{- toYaml . | nindent 4 }} {{- end }} spec: type: ClusterIP