From dbf53cc0d6678e405b0cbddccfc375b9ed6c93b7 Mon Sep 17 00:00:00 2001 From: Mikhail Koniakhin Date: Wed, 3 Apr 2024 15:11:37 +0300 Subject: [PATCH] BUG/MINOR: haproxy: Remove hardcode from configmap template for haproxy chart. (#233) Signed-off-by: Mikhail Koniakhin --- haproxy/Chart.yaml | 6 ++---- haproxy/templates/configmap.yaml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/haproxy/Chart.yaml b/haproxy/Chart.yaml index fdb4398..df56a39 100644 --- a/haproxy/Chart.yaml +++ b/haproxy/Chart.yaml @@ -16,7 +16,7 @@ apiVersion: v2 name: haproxy description: A Helm chart for HAProxy on Kubernetes type: application -version: 1.21.0 +version: 1.21.1 appVersion: 2.9.5 kubeVersion: ">=1.17.0-0" keywords: @@ -31,6 +31,4 @@ maintainers: engine: gotpl annotations: artifacthub.io/changes: | - - Update base image to HAProxy 2.9.5 - - Add internalTrafficPolicy property for service (#218) - - Update podAnnotations rendering for better flexibility (#224) + - Remove hardcode from configmap template for haproxy chart (#233) diff --git a/haproxy/templates/configmap.yaml b/haproxy/templates/configmap.yaml index aed97f0..ed245e8 100644 --- a/haproxy/templates/configmap.yaml +++ b/haproxy/templates/configmap.yaml @@ -23,7 +23,7 @@ metadata: labels: {{- include "haproxy.labels" . | nindent 4 }} data: - haproxy.cfg: | + {{ .Values.configMount.subPath }}: | {{ tpl .Values.config . | nindent 4 }} {{- end }}