diff --git a/charts/library-chart/Chart.yaml b/charts/library-chart/Chart.yaml index 7d55743b..4143de37 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 diff --git a/charts/library-chart/templates/_ingress.tpl b/charts/library-chart/templates/_ingress.tpl index 288834d7..c6fdccb6 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: diff --git a/charts/library-chart/templates/_route.tpl b/charts/library-chart/templates/_route.tpl index 1fa7dc5c..9aaf80f7 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 }}