Skip to content

Commit

Permalink
fix: loadbalancer config settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus V. Oliveira committed Nov 13, 2022
1 parent 905da73 commit 7f3a549
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/pyspark-notebook/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ spec:
port: {{ .Values.driverPort }}
targetPort: driver
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- with .Values.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
loadBalancerSourceRanges:
{{ toYaml . | indent 4 }}
{{- end }}
{{- if .Values.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
{{- end }}

---
Expand Down

0 comments on commit 7f3a549

Please sign in to comment.