From 16accfa8c7d541cb93434207eb1c203ba8e7a7e0 Mon Sep 17 00:00:00 2001 From: Vikas Pogu <33044005+Vikaspogu@users.noreply.github.com> Date: Tue, 17 May 2022 11:27:08 -0500 Subject: [PATCH] [reverse-proxy] minor fix to not chomp of left whitspace (#1570) --- charts/stable/reverse-proxy/Chart.yaml | 6 +++--- charts/stable/reverse-proxy/README.md | 6 +++--- charts/stable/reverse-proxy/templates/endpoint.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/stable/reverse-proxy/Chart.yaml b/charts/stable/reverse-proxy/Chart.yaml index db1e03a0..56671098 100644 --- a/charts/stable/reverse-proxy/Chart.yaml +++ b/charts/stable/reverse-proxy/Chart.yaml @@ -1,6 +1,6 @@ --- apiVersion: v2 -version: 2.3.2 +version: 2.3.3 description: Creates ingress reverse-proxies for external hosts with minimum boilerplate name: reverse-proxy appVersion: 1.2.0 @@ -21,5 +21,5 @@ dependencies: version: 4.4.2 annotations: artifacthub.io/changes: |- - - kind: changed - description: Upgraded `common` chart dependency to version 4.4.2 + - kind: fixed + description: Minor bug fix to not trim whitespace for endpoint objects diff --git a/charts/stable/reverse-proxy/README.md b/charts/stable/reverse-proxy/README.md index d08e884f..ceeca748 100644 --- a/charts/stable/reverse-proxy/README.md +++ b/charts/stable/reverse-proxy/README.md @@ -95,7 +95,7 @@ N/A ## Changelog -### Version 2.3.2 +### Version 2.3.3 #### Added @@ -103,11 +103,11 @@ N/A #### Changed -* Upgraded `common` chart dependency to version 4.4.2 +N/A #### Fixed -N/A +* Fixed template to not trim whitespace for the endpoint object ### Older versions diff --git a/charts/stable/reverse-proxy/templates/endpoint.yaml b/charts/stable/reverse-proxy/templates/endpoint.yaml index cf8676d2..9930a79c 100644 --- a/charts/stable/reverse-proxy/templates/endpoint.yaml +++ b/charts/stable/reverse-proxy/templates/endpoint.yaml @@ -1,7 +1,7 @@ {{- include "common.values.setup" . -}} {{- range .Values.instances }} {{- if or ( not ( hasKey . "enabled" ) ) .enabled }} -{{- if .ip -}} +{{- if .ip }} --- apiVersion: v1 kind: Endpoints