From 202807974f1deaca4bfbc8833028e09122bb5810 Mon Sep 17 00:00:00 2001 From: Jonathan Piron Date: Tue, 5 Nov 2019 15:56:39 +0100 Subject: [PATCH] [stable/traefik] Add startupArguments to storeconfig job (#17587) As specific startupArguments could be provided to the deployment, the sames should be provided to the storeconfig job. Signed-off-by: Jonathan Piron --- stable/traefik/Chart.yaml | 2 +- stable/traefik/templates/storeconfig-job.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/traefik/Chart.yaml b/stable/traefik/Chart.yaml index 832477f354..7ce0f9c083 100644 --- a/stable/traefik/Chart.yaml +++ b/stable/traefik/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: traefik -version: 1.78.5 +version: 1.79.0 appVersion: 1.7.14 description: A Traefik based Kubernetes ingress controller with Let's Encrypt support keywords: diff --git a/stable/traefik/templates/storeconfig-job.yaml b/stable/traefik/templates/storeconfig-job.yaml index f0964cbbdf..c16c6da8ad 100644 --- a/stable/traefik/templates/storeconfig-job.yaml +++ b/stable/traefik/templates/storeconfig-job.yaml @@ -25,6 +25,9 @@ spec: args: - storeconfig - --configfile=/config/traefik.toml + {{- range .Values.startupArguments }} + - {{ . }} + {{- end }} volumeMounts: - mountPath: /config name: config