From 19c1031b29f5bf7f4c59c72704bc767a488caa7d Mon Sep 17 00:00:00 2001 From: Devin Young Date: Wed, 4 Oct 2023 11:23:10 -0400 Subject: [PATCH] fix indentation for extraContainers Signed-off-by: Devin Young --- charts/coredns/Chart.yaml | 6 +++--- charts/coredns/templates/deployment-autoscaler.yaml | 4 ++-- charts/coredns/templates/deployment.yaml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/coredns/Chart.yaml b/charts/coredns/Chart.yaml index 263c74b..150348c 100644 --- a/charts/coredns/Chart.yaml +++ b/charts/coredns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: coredns -version: 1.27.0 +version: 1.27.1 appVersion: 1.11.1 home: https://coredns.io icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png @@ -20,5 +20,5 @@ engine: gotpl type: application annotations: artifacthub.io/changes: | - - kind: added - description: Added support for sidecar containers via extraContainers + - kind: fixed + description: Fixed indentation for sidecar containers diff --git a/charts/coredns/templates/deployment-autoscaler.yaml b/charts/coredns/templates/deployment-autoscaler.yaml index 0bd4822..7de5c06 100644 --- a/charts/coredns/templates/deployment-autoscaler.yaml +++ b/charts/coredns/templates/deployment-autoscaler.yaml @@ -92,7 +92,7 @@ spec: {{- if .Values.autoscaler.customFlags }} {{ toYaml .Values.autoscaler.customFlags | indent 10 }} {{- end }} -{{- end }} {{- if .Values.autoscaler.extraContainers }} -{{ toYaml .Values.autoscaler.extraContainers | indent 8 }} +{{ toYaml .Values.autoscaler.extraContainers | indent 6 }} +{{- end }} {{- end }} diff --git a/charts/coredns/templates/deployment.yaml b/charts/coredns/templates/deployment.yaml index 9ca11ba..fa86957 100644 --- a/charts/coredns/templates/deployment.yaml +++ b/charts/coredns/templates/deployment.yaml @@ -136,7 +136,7 @@ spec: {{- toYaml .Values.securityContext | nindent 10 }} {{- end }} {{- if .Values.extraContainers }} -{{ toYaml .Values.extraContainers | indent 8 }} +{{ toYaml .Values.extraContainers | indent 6 }} {{- end }} volumes: - name: config-volume