From f2531f09ff3d69a926a779b1c25e19364828064b Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Sat, 10 Feb 2024 17:25:20 +0800 Subject: [PATCH] fix(charts): ingress formatting of bridge chart I'm just a bit salty that this seems to happen every time with intellijs auto formatting... --- charts/bpdm/Chart.yaml | 4 ++-- charts/bpdm/charts/bpdm-bridge-dummy/Chart.yaml | 2 +- charts/bpdm/charts/bpdm-bridge-dummy/templates/ingress.yaml | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/charts/bpdm/Chart.yaml b/charts/bpdm/Chart.yaml index 92a66dd73..52af060bd 100644 --- a/charts/bpdm/Chart.yaml +++ b/charts/bpdm/Chart.yaml @@ -22,7 +22,7 @@ apiVersion: v2 name: bpdm type: application description: A Helm chart for Kubernetes that deploys the BPDM applications -version: 4.0.0-alpha.8 +version: 4.0.0-alpha.9 appVersion: "5.0.0-alpha.6" home: https://github.com/eclipse-tractusx/bpdm sources: @@ -41,7 +41,7 @@ dependencies: alias: bpdm-pool condition: bpdm-pool.enabled - name: bpdm-bridge-dummy - version: 2.0.0-alpha.8 + version: 2.0.0-alpha.9 alias: bpdm-bridge-dummy condition: bpdm-bridge-dummy.enabled - name: bpdm-cleaning-service-dummy diff --git a/charts/bpdm/charts/bpdm-bridge-dummy/Chart.yaml b/charts/bpdm/charts/bpdm-bridge-dummy/Chart.yaml index 6f6160fd7..962d7a62a 100644 --- a/charts/bpdm/charts/bpdm-bridge-dummy/Chart.yaml +++ b/charts/bpdm/charts/bpdm-bridge-dummy/Chart.yaml @@ -22,7 +22,7 @@ apiVersion: v2 type: application name: bpdm-bridge-dummy appVersion: "5.0.0-alpha.6" -version: 2.0.0-alpha.8 +version: 2.0.0-alpha.9 description: A Helm chart for deploying the BPDM bridge dummy service home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View sources: diff --git a/charts/bpdm/charts/bpdm-bridge-dummy/templates/ingress.yaml b/charts/bpdm/charts/bpdm-bridge-dummy/templates/ingress.yaml index 2965204e9..cb9ca68fe 100644 --- a/charts/bpdm/charts/bpdm-bridge-dummy/templates/ingress.yaml +++ b/charts/bpdm/charts/bpdm-bridge-dummy/templates/ingress.yaml @@ -19,9 +19,7 @@ ################################################################################ - {{ if .Values.ingress.enabled }} - - +{{if .Values.ingress.enabled}} {{- $fullName := include "bpdm.fullname" . -}} {{- $svcPort := .Values.service.port -}} {{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}