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

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new df9284d  Fix helm chart to allow configurable ingress pathType (#558)
df9284d is described below

commit df9284dc970754aca74b0e0388b5d524819ea7d6
Author: Raúl Sánchez <[email protected]>
AuthorDate: Wed Dec 11 16:21:03 2024 +0100

    Fix helm chart to allow configurable ingress pathType (#558)
---
 charts/pulsar/templates/proxy-ingress.yaml          | 2 +-
 charts/pulsar/templates/pulsar-manager-ingress.yaml | 2 +-
 charts/pulsar/values.yaml                           | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/charts/pulsar/templates/proxy-ingress.yaml 
b/charts/pulsar/templates/proxy-ingress.yaml
index 09a8881..cbd36d9 100644
--- a/charts/pulsar/templates/proxy-ingress.yaml
+++ b/charts/pulsar/templates/proxy-ingress.yaml
@@ -59,7 +59,7 @@ spec:
               servicePort: {{ .Values.proxy.ports.http }}
               {{- end }}
             {{- else }}
-            pathType: ImplementationSpecific
+            pathType: {{ .Values.proxy.ingress.pathType }}
             backend:
               service:
                 name: "{{ template "pulsar.fullname" . }}-{{ 
.Values.proxy.component }}"
diff --git a/charts/pulsar/templates/pulsar-manager-ingress.yaml 
b/charts/pulsar/templates/pulsar-manager-ingress.yaml
index 08c4bdf..603a1d5 100644
--- a/charts/pulsar/templates/pulsar-manager-ingress.yaml
+++ b/charts/pulsar/templates/pulsar-manager-ingress.yaml
@@ -55,7 +55,7 @@ spec:
               serviceName: "{{ template "pulsar.fullname" . }}-{{ 
.Values.pulsar_manager.component }}"
               servicePort: {{ .Values.pulsar_manager.service.targetPort }}
             {{- else }}
-            pathType: ImplementationSpecific
+            pathType: {{ .Values.pulsar_manager.ingress.pathType }}
             backend:
               service:
                 name: "{{ template "pulsar.fullname" . }}-{{ 
.Values.pulsar_manager.component }}"
diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml
index 401d089..9236c34 100755
--- a/charts/pulsar/values.yaml
+++ b/charts/pulsar/values.yaml
@@ -1297,6 +1297,7 @@ proxy:
 
     hostname: ""
     path: "/"
+    pathType: ImplementationSpecific
   ## Proxy PodDisruptionBudget
   ## templates/proxy-pdb.yaml
   ##
@@ -1523,6 +1524,7 @@ pulsar_manager:
 
     hostname: ""
     path: "/"
+    pathType: ImplementationSpecific
 
   ## On first install, the helm chart tries to reuse an existing secret with 
matching name by default
   ## if this should fail it uses the given username and password to create a 
new secret

Reply via email to