This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git

commit b9997c40339035a4deeff229546bf51ade4919d7
Author: William Bartholomew <[email protected]>
AuthorDate: Sat Jan 8 19:28:26 2022 -0800

    Fix Ingress definition
---
 couchdb/templates/ingress.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/couchdb/templates/ingress.yaml b/couchdb/templates/ingress.yaml
index 02b03bb..71f7492 100644
--- a/couchdb/templates/ingress.yaml
+++ b/couchdb/templates/ingress.yaml
@@ -22,9 +22,12 @@ spec:
       http:
         paths:
           - path: {{ $path }}
+            pathType: Prefix
             backend:
-              serviceName: {{ $serviceName }}
-              servicePort: {{ $servicePort }}
+              service:
+                name: {{ $serviceName }}
+                port:
+                  number: {{ $servicePort }}
     {{- end -}}
   {{- if .Values.ingress.tls }}
   tls:

Reply via email to