From f78524009e1abc9b83f9594c984db7919a250d19 Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 16 Aug 2022 13:48:04 +0200 Subject: [PATCH] Fixed wrong indentation of extraVolumes and extraVolumeMounts (#2103) --- gradle/changelog/k8s_deployment_config.yaml | 2 ++ .../helm/src/main/chart/templates/deployment.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 gradle/changelog/k8s_deployment_config.yaml diff --git a/gradle/changelog/k8s_deployment_config.yaml b/gradle/changelog/k8s_deployment_config.yaml new file mode 100644 index 0000000000..31c5f2761f --- /dev/null +++ b/gradle/changelog/k8s_deployment_config.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: Fixed wrong indentation of extraVolumes and extraVolumeMounts ([#2103](https://github.com/scm-manager/scm-manager/pull/2103)) diff --git a/scm-packaging/helm/src/main/chart/templates/deployment.yaml b/scm-packaging/helm/src/main/chart/templates/deployment.yaml index 90eb81be3a..b38409e341 100644 --- a/scm-packaging/helm/src/main/chart/templates/deployment.yaml +++ b/scm-packaging/helm/src/main/chart/templates/deployment.yaml @@ -97,9 +97,9 @@ spec: mountPath: /var/lib/scm - name: config mountPath: /opt/scm-server/conf - {{- with .Values.extraVolumeMounts }} - {{- tpl . $ | nindent 12 }} - {{- end }} + {{- with .Values.extraVolumeMounts }} + {{- tpl . $ | nindent 10 }} + {{- end }} env: {{- with .Values.extraEnv }} {{- tpl . $ | nindent 12 }} @@ -125,7 +125,7 @@ spec: name: {{ include "scm-manager.fullname" . }}-scripts {{- end }} {{- with .Values.extraVolumes }} - {{- tpl . $ | nindent 8 }} + {{- tpl . $ | nindent 6 }} {{- end }} {{- with .Values.nodeSelector }} nodeSelector: