From a4898b500481cc0253283004e6e3ae9220b74642 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Thu, 30 Sep 2021 23:18:12 +0200 Subject: [PATCH] fix ingress --- charts/wordpress/5.8/templates/ingress.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/wordpress/5.8/templates/ingress.yaml b/charts/wordpress/5.8/templates/ingress.yaml index 063ecbe..d9e9292 100644 --- a/charts/wordpress/5.8/templates/ingress.yaml +++ b/charts/wordpress/5.8/templates/ingress.yaml @@ -29,10 +29,12 @@ spec: paths: {{- range .paths }} - path: {{ .path }} + pathType: Prefix backend: - name: {{ $fullName }} - port: - number: {{ $svcPort }} + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} {{- end }} {{- end }} {{- end }}