[bitnami/elasticsearch] Fix named port in ingress (#9180)

* Fix named port in ingress

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2022-02-24 18:46:19 +01:00
committed by GitHub
parent 6a41a6f3d4
commit 5dcd251a3b
2 changed files with 3 additions and 3 deletions

View File

@@ -25,4 +25,4 @@ name: elasticsearch
sources:
- https://github.com/bitnami/bitnami-docker-elasticsearch
- https://www.elastic.co/products/elasticsearch
version: 17.9.3
version: 17.9.4

View File

@@ -26,7 +26,7 @@ spec:
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.master.ingress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "elasticsearch.master.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "elasticsearch.master.fullname" .) "servicePort" (include "elasticsearch.httpPortName" .) "context" $) | nindent 14 }}
{{- if ne .Values.master.ingress.hostname "*" }}
host: {{ .Values.master.ingress.hostname }}
{{- end }}
@@ -39,7 +39,7 @@ spec:
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
pathType: {{ default "ImplementationSpecific" .pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "elasticsearch.master.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "elasticsearch.master.fullname" $) "servicePort" (include "elasticsearch.httpPortName" .) "context" $) | nindent 14 }}
{{- end }}
{{- if or .Values.master.ingress.tls .Values.master.ingress.extraTls }}
tls: