From 21b3d52784469965e1cd2990dd911a829b7aa5bc Mon Sep 17 00:00:00 2001 From: Connor Leigh-Smith Date: Thu, 6 Jan 2022 14:42:09 +0000 Subject: [PATCH] Update ingress to suit networking.k8s.io/v1 (#72) * Update ingress to suit networking.k8s.io/v1 * Add pathType to ingress path --- helm/templates/ingress.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/helm/templates/ingress.yaml b/helm/templates/ingress.yaml index 570430d..de9a0ba 100644 --- a/helm/templates/ingress.yaml +++ b/helm/templates/ingress.yaml @@ -29,9 +29,12 @@ spec: paths: {{- range .paths }} - path: {{ . }} + pathType: ImplementationSpecific backend: - serviceName: {{ $fullName }} - servicePort: {{ $svcPort }} + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} {{- end }} {{- end }} {{- end }}