Skip to content

Commit 5dcd251

Browse files
authored
[bitnami/elasticsearch] Fix named port in ingress (#9180)
* Fix named port in ingress Signed-off-by: Fran Mulero <fmulero@vmware.com>
1 parent 6a41a6f commit 5dcd251

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bitnami/elasticsearch/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ name: elasticsearch
2525
sources:
2626
- https://github.com/bitnami/bitnami-docker-elasticsearch
2727
- https://www.elastic.co/products/elasticsearch
28-
version: 17.9.3
28+
version: 17.9.4

bitnami/elasticsearch/templates/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
2727
pathType: {{ .Values.master.ingress.pathType }}
2828
{{- end }}
29-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "elasticsearch.master.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
29+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "elasticsearch.master.fullname" .) "servicePort" (include "elasticsearch.httpPortName" .) "context" $) | nindent 14 }}
3030
{{- if ne .Values.master.ingress.hostname "*" }}
3131
host: {{ .Values.master.ingress.hostname }}
3232
{{- end }}
@@ -39,7 +39,7 @@ spec:
3939
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
4040
pathType: {{ default "ImplementationSpecific" .pathType }}
4141
{{- end }}
42-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "elasticsearch.master.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
42+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "elasticsearch.master.fullname" $) "servicePort" (include "elasticsearch.httpPortName" .) "context" $) | nindent 14 }}
4343
{{- end }}
4444
{{- if or .Values.master.ingress.tls .Values.master.ingress.extraTls }}
4545
tls:

0 commit comments

Comments
 (0)