Skip to content

Commit d8705a1

Browse files
committed
fix: fix ingress
1 parent f2acdb6 commit d8705a1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

charts/application-ingress/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: ingress
3-
version: 1.1.4
3+
version: 1.1.5
44
description: A Helm chart for Ingress
55
type: application
66
home: https://github.com/technicaldomain/helm

charts/application-ingress/templates/ingress.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{{- $fullName := include "common.fullname" . }}
22
{{- $appLabels := include "common.labels.standard" . -}}
33
{{- range .Values.services }}
4+
{{- $pathType := .pathType | default "Prefix" }}
45
{{- $contextPath := .contextPath }}
56
{{- $serviceName := .name }}
67
{{- $servicePort := .port | default 80 }}
@@ -53,7 +54,7 @@ spec:
5354
paths:
5455
{{- range $contextPath }}
5556
- path: {{ . }}
56-
pathType: Prefix
57+
pathType: {{ $pathType }}
5758
backend:
5859
service:
5960
name: {{ $serviceName }}

0 commit comments

Comments
 (0)