mirror of https://github.com/apache/superset.git
feat: Added annotations and loadBalancerIP option in helm service.yaml (#13114)
* added annotations and loadBalancerIP option in helm service.yaml * Update service.yaml * Update values.yaml * Update service.yaml
This commit is contained in:
parent
5aa38ef929
commit
94893ff280
|
@ -23,6 +23,10 @@ metadata:
|
||||||
chart: {{ template "superset.chart" . }}
|
chart: {{ template "superset.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
|
{{- with .Values.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
ports:
|
ports:
|
||||||
|
@ -33,3 +37,6 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "superset.name" . }}
|
app: {{ template "superset.name" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
{{- if .Values.service.loadBalancerIP }}
|
||||||
|
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -97,6 +97,9 @@ image:
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8088
|
port: 8088
|
||||||
|
annotations: {}
|
||||||
|
# cloud.google.com/load-balancer-type: "Internal"
|
||||||
|
loadBalancerIP: null
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in New Issue