Skip to content

Commit

Permalink
Merge pull request #13 from A3Data/dev
Browse files Browse the repository at this point in the history
fix: loadbalancer config settings
  • Loading branch information
maylatt authored Nov 16, 2022
2 parents 41cb9a8 + db512bd commit 22b9c91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion charts/pyspark-notebook/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -27,5 +27,8 @@ maintainers:
name: voidmarcus
- email: maylateixeira2013@gmail.com
name: maylatt
- email: neylsoncrepalde@gmail.com
name: neylsoncrepalde

sources:
- https://github.com/a3data/pyspark-notebook-helm
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 22b9c91

Please sign in to comment.