From b15470732d72d8dc26c84b496ad76adca00928bf Mon Sep 17 00:00:00 2001 From: Anthony Clerici Date: Fri, 6 Mar 2026 21:21:49 -0800 Subject: [PATCH] fix(chart): fix multidoc separator when 2 routes are enabled --- chart/Chart.yaml | 2 +- chart/templates/httproute.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index d6aefa4b..da198304 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: versitygw description: A Helm chart for deploying the Versity S3 Gateway on Kubernetes type: application -version: 0.2.0 +version: 0.2.1 sources: - https://github.com/versity/versitygw icon: https://raw.githubusercontent.com/versity/versitygw/main/webui/web/assets/images/Versity-logo-blue-horizontal.png diff --git a/chart/templates/httproute.yaml b/chart/templates/httproute.yaml index 3c06ab11..4fd62eba 100644 --- a/chart/templates/httproute.yaml +++ b/chart/templates/httproute.yaml @@ -25,8 +25,8 @@ spec: port: {{ .backendPort | default $.Values.gateway.port }} {{- end }} {{- end }} +{{- if and .Values.admin.enabled .Values.admin.httpRoute.enabled }} --- -{{- if and .Values.admin.enabled .Values.admin.httpRoute.enabled -}} apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: @@ -53,8 +53,8 @@ spec: port: {{ $.Values.admin.port }} {{- end }} {{- end }} +{{- if and .Values.webui.enabled .Values.webui.httpRoute.enabled }} --- -{{- if and .Values.webui.enabled .Values.webui.httpRoute.enabled -}} apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: