[stable/spark-history-server] servicePort should retrieve from Values (#24219)

* servicePort should retrieve from Values

servicePort should retrieve from Values. This dis-matching with service.yaml file will cause ingress creation failure.

Signed-off-by: ming.gao <ming.gao@grab.com>

* Use .service.port.number for Ingress Backend. Default service name exceed length limit.

Signed-off-by: ming.gao <ming.gao@grab.com>

Co-authored-by: ming.gao <ming.gao@grab.com>
This commit is contained in:
Gao Ming
2020-11-09 14:36:23 -08:00
committed by GitHub
co-authored by ming.gao
parent bd996303d6
commit e48eaa3b5a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: spark-history-server
version: 1.4.1
version: 1.4.2
appVersion: 2.4.0
description: A Helm chart for Spark History Server
home: https://spark.apache.org
@@ -22,7 +22,7 @@ spec:
- path: {{ $.Values.ingress.path }}
backend:
serviceName: {{ $fullname }}
servicePort: historyport
servicePort: {{ .Values.service.port.number }}
{{- end -}}
{{- if .Values.ingress.tls }}
tls: