From 50804d51fb37d5764b75fc8786e3df76f2d709c0 Mon Sep 17 00:00:00 2001 From: Archi <74546582+Archimonde666@users.noreply.github.com> Date: Mon, 21 Jul 2025 13:50:00 +0200 Subject: [PATCH 1/3] Update _ingress.tpl Allow path to be overriden --- charts/library-chart/templates/_ingress.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/library-chart/templates/_ingress.tpl b/charts/library-chart/templates/_ingress.tpl index 288834d78..c6fdccb60 100644 --- a/charts/library-chart/templates/_ingress.tpl +++ b/charts/library-chart/templates/_ingress.tpl @@ -68,7 +68,7 @@ spec: - host: {{ .Values.ingress.hostname | quote }} http: paths: - - path: / + - path: {{ .Values.ingress.path | default "/" }} pathType: Prefix backend: service: @@ -128,7 +128,7 @@ spec: {{- end }} http: paths: - - path: / + - path: {{ .Values.ingress.userPath | default "/" }} pathType: Prefix backend: service: @@ -174,7 +174,7 @@ spec: - host: {{ .Values.ingress.sparkHostname | quote }} http: paths: - - path: / + - path: {{ .Values.ingress.sparkPath | default "/" }} pathType: Prefix backend: service: From 09604ae16d21c738c9ec3dbd7435c05bd6a34697 Mon Sep 17 00:00:00 2001 From: Archi <74546582+Archimonde666@users.noreply.github.com> Date: Mon, 21 Jul 2025 13:51:08 +0200 Subject: [PATCH 2/3] Update _route.tpl --- charts/library-chart/templates/_route.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/library-chart/templates/_route.tpl b/charts/library-chart/templates/_route.tpl index 1fa7dc5c3..9aaf80f72 100644 --- a/charts/library-chart/templates/_route.tpl +++ b/charts/library-chart/templates/_route.tpl @@ -34,7 +34,7 @@ metadata: {{- include "library-chart.route.annotations" . | nindent 4 }} spec: host: {{ .Values.route.hostname | quote }} - path: / + path: {{ .Values.route.path | default "/" }} to: kind: Service name: {{ $fullName }} @@ -83,7 +83,7 @@ spec: {{- else }} host: {{ regexReplaceAll "([^\\.]+)\\.(.*)" .Values.route.userHostname (printf "${1}-%d.${2}" (int $userPort)) | quote }} {{- end }} - path: / + path: {{ .Values.route.userPath | default "/" }} to: kind: Service name: {{ $fullName }} @@ -130,7 +130,7 @@ metadata: {{- include "library-chart.route.annotations" . | nindent 4 }} spec: host: {{ .Values.route.sparkHostname | quote }} - path: / + path: {{ .Values.route.sparkPath | default "/" }} to: kind: Service name: {{ $fullName }} From e2eaefd721408ddb7fd4513a2cd7b2074c5f547f Mon Sep 17 00:00:00 2001 From: Archi <74546582+Archimonde666@users.noreply.github.com> Date: Mon, 21 Jul 2025 14:01:30 +0200 Subject: [PATCH 3/3] Update Chart.yaml --- charts/library-chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/library-chart/Chart.yaml b/charts/library-chart/Chart.yaml index 7d55743b7..4143de37a 100644 --- a/charts/library-chart/Chart.yaml +++ b/charts/library-chart/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: library-chart -version: 1.7.11 +version: 1.7.12 type: library