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

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

commit 334583041e463b2f97ff0016822735809906081b
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