From 8cac0e027c86822008692fc1fefa7e99a4a5171f Mon Sep 17 00:00:00 2001 From: guy-frontegg Date: Tue, 7 Jan 2025 13:19:35 +0200 Subject: [PATCH] snother try --- common/unified-chart/Chart.yaml | 2 +- common/unified-chart/templates/web/web-service-profile.yaml | 2 ++ common/unified-chart/templates/web/web-service.yaml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common/unified-chart/Chart.yaml b/common/unified-chart/Chart.yaml index a5e4b252..fb6c5847 100644 --- a/common/unified-chart/Chart.yaml +++ b/common/unified-chart/Chart.yaml @@ -4,7 +4,7 @@ description: Frontegg Unified Chart type: application #This is a test version do not use -version: 4.0.74 +version: 4.0.75 maintainers: - name: "platform" diff --git a/common/unified-chart/templates/web/web-service-profile.yaml b/common/unified-chart/templates/web/web-service-profile.yaml index 71a25169..591d36e5 100644 --- a/common/unified-chart/templates/web/web-service-profile.yaml +++ b/common/unified-chart/templates/web/web-service-profile.yaml @@ -1,3 +1,4 @@ +{{- if not .Values.argoRollouts.progressiveDelivery.enabled }} {{- $top := . }} {{- with .Values.web.serviceProfile }} {{- if .enabled }} @@ -20,4 +21,5 @@ spec: routes: {{- .routes | toYaml | nindent 4 }} {{- end }} +{{- end }} {{- end }} \ No newline at end of file diff --git a/common/unified-chart/templates/web/web-service.yaml b/common/unified-chart/templates/web/web-service.yaml index 52abee7f..35c1303e 100644 --- a/common/unified-chart/templates/web/web-service.yaml +++ b/common/unified-chart/templates/web/web-service.yaml @@ -23,9 +23,9 @@ spec: protocol: {{ .protocol | default "TCP" }} name: {{ .name | default "http" }} {{- end }} -{{/* {{- if not .Values.argoRollouts.progressiveDelivery.enabled }}*/}} + {{- if not .Values.argoRollouts.progressiveDelivery.enabled }} selector: {{- include "web.selector.labels" . | nindent 4 }} -{{/* {{- end }}*/}} + {{- end }} {{- end }} {{- end }} \ No newline at end of file