From f01124e891c27023a02585948986e52bf28c2168 Mon Sep 17 00:00:00 2001 From: daniel-maganto <85618180+daniel-maganto@users.noreply.github.com> Date: Tue, 17 Jan 2023 22:57:47 +0100 Subject: [PATCH] fix: indentation on labels and annotations (#21) fix: indentation on labels and annotations --- charts/pact-broker/Chart.yaml | 2 +- charts/pact-broker/templates/deployment.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/pact-broker/Chart.yaml b/charts/pact-broker/Chart.yaml index ebf572d..f61cd23 100644 --- a/charts/pact-broker/Chart.yaml +++ b/charts/pact-broker/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: pact-broker description: The Pact Broker is an application for sharing for Pact contracts and verification results. type: application -version: 0.4.0 +version: 0.4.1 appVersion: 2.105.0.1 dependencies: - condition: postgresql.enabled diff --git a/charts/pact-broker/templates/deployment.yaml b/charts/pact-broker/templates/deployment.yaml index a3a5c4e..55fb788 100644 --- a/charts/pact-broker/templates/deployment.yaml +++ b/charts/pact-broker/templates/deployment.yaml @@ -18,13 +18,13 @@ spec: labels: app.kubernetes.io/name: {{ include "chart.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} - {{- with .Values.broker.labels }} - {{ toYaml . | trim | indent 8 }} + {{- with .Values.broker.labels -}} + {{ toYaml . | trim | nindent 8 }} {{- end }} {{- if .Values.broker.annotations }} annotations: - {{- with .Values.broker.annotations }} - {{ toYaml . | trim | indent 8 }} + {{- with .Values.broker.annotations -}} + {{ toYaml . | trim | nindent 8 }} {{- end }} {{- end }} spec: