diff --git a/assets/auto-deploy-app/Chart.yaml b/assets/auto-deploy-app/Chart.yaml index ab83790ea2f6fd0a84714cbde324b7244129ce24..640d999470550fe2105ef96f99ee51734888ceff 100644 --- a/assets/auto-deploy-app/Chart.yaml +++ b/assets/auto-deploy-app/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 description: GitLab's Auto-deploy Helm Chart name: auto-deploy-app -version: 2.28.0 +version: 2.28.1 icon: https://gitlab.com/gitlab-com/gitlab-artwork/raw/master/logo/logo-square.png diff --git a/assets/auto-deploy-app/templates/worker-deployment.yaml b/assets/auto-deploy-app/templates/worker-deployment.yaml index 2c264d9eb9e24339b61d1ed802d1c686e6f92578..ca556a86815bcd500b7d5f94c50abc7c1addd7e1 100644 --- a/assets/auto-deploy-app/templates/worker-deployment.yaml +++ b/assets/auto-deploy-app/templates/worker-deployment.yaml @@ -82,9 +82,7 @@ items: - name: {{ $.Chart.Name }}-{{ $workerName }} image: {{ template "imagename" $ }} command: - {{- range $workerConfig.command }} - - {{ . }} - {{- end }} +{{ toYaml $workerConfig.command | indent 10 }} imagePullPolicy: {{ $.Values.image.pullPolicy }} {{- if $.Values.application.secretName }} envFrom: @@ -149,9 +147,7 @@ items: preStop: exec: command: - {{- range $workerConfig.preStopCommand }} - - {{ . }} - {{- end }} +{{ toYaml $workerConfig.preStopCommand | indent 16 }} {{- end}} {{- end }} resources: