From b898048c9e2f489854fdfe1e3865b51ef8011485 Mon Sep 17 00:00:00 2001 From: Jack Maloney Date: Wed, 13 Oct 2021 13:56:19 -0500 Subject: [PATCH] [gollum] Fix error with multiple additionalArgs (#1238) --- charts/stable/gollum/Chart.yaml | 2 +- charts/stable/gollum/README.md | 6 +++++- charts/stable/gollum/README_CHANGELOG.md.gotmpl | 4 ++++ charts/stable/gollum/templates/common.yaml | 4 +++- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/charts/stable/gollum/Chart.yaml b/charts/stable/gollum/Chart.yaml index fbd0e33c..089d652d 100644 --- a/charts/stable/gollum/Chart.yaml +++ b/charts/stable/gollum/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: latest description: Gollum is a simple wiki system built on top of Git name: gollum -version: 3.0.1 +version: 3.0.2 kubeVersion: ">=1.16.0-0" keywords: - gollum diff --git a/charts/stable/gollum/README.md b/charts/stable/gollum/README.md index 8dcc1b88..d8073e2b 100644 --- a/charts/stable/gollum/README.md +++ b/charts/stable/gollum/README.md @@ -1,6 +1,6 @@ # gollum -![Version: 3.0.1](https://img.shields.io/badge/Version-3.0.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 3.0.2](https://img.shields.io/badge/Version-3.0.2-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) Gollum is a simple wiki system built on top of Git @@ -94,6 +94,10 @@ All notable changes to this application Helm chart will be documented in this fi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [3.0.2] + +- Fix `additionalArgs` templating so that more than one extra argument can be supplied. + ### [3.0.0] #### Changed diff --git a/charts/stable/gollum/README_CHANGELOG.md.gotmpl b/charts/stable/gollum/README_CHANGELOG.md.gotmpl index a66139fa..c44ffa0d 100644 --- a/charts/stable/gollum/README_CHANGELOG.md.gotmpl +++ b/charts/stable/gollum/README_CHANGELOG.md.gotmpl @@ -9,6 +9,10 @@ All notable changes to this application Helm chart will be documented in this fi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [3.0.2] + +- Fix `additionalArgs` templating so that more than one extra argument can be supplied. + ### [3.0.0] #### Changed diff --git a/charts/stable/gollum/templates/common.yaml b/charts/stable/gollum/templates/common.yaml index 8ff9a0c9..975b67aa 100644 --- a/charts/stable/gollum/templates/common.yaml +++ b/charts/stable/gollum/templates/common.yaml @@ -11,7 +11,9 @@ args: - "--ref" - {{ (required "gollum.gitBranch is required but not set" .Values.gollum.gitBranch) }} {{ with .Values.gollum.additionalArgs }} - {{- . | toYaml }} + {{ range . }} + - {{ . | toYaml }} + {{ end }} {{ end }} initContainers: