From 077bd27ba05930984a2a0d22cb77a4a166b704b8 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Vrielynck <43749206+pvriel@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:06:11 +0100 Subject: [PATCH] [NYS2AWS-74] enforce quotes for ingress annotations --- CHANGELOG.md | 3 +++ xenit-alfresco/templates/ingress/alfresco-ingress.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fdce45..6b9e724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ chronology things are added/fixed/changed and - where possible - links to the PR ### Changes +[v0.8.3] +* fixed a bug that caused the ingress annotations to miss necessary quotes + [v0.8.2] * added solr.enforceZoneAntiAffinity diff --git a/xenit-alfresco/templates/ingress/alfresco-ingress.yaml b/xenit-alfresco/templates/ingress/alfresco-ingress.yaml index 7318e07..959adb7 100644 --- a/xenit-alfresco/templates/ingress/alfresco-ingress.yaml +++ b/xenit-alfresco/templates/ingress/alfresco-ingress.yaml @@ -14,7 +14,7 @@ metadata: */ -}} {{- range $key, $value := .Values.ingress.ingressAnnotations }} {{- if not ( and ($.Values.ingress.ingressClass) (eq $key "kubernetes.io/ingress.class")) }} - {{ $key }}: {{ $value }} + {{ $key }}: {{ $value | quote }} {{- end }} {{- end }} {{- end }}