Skip to content

Commit

Permalink
[sophora-webclient] Add loadBalancerIP to webclient chart (#107)
Browse files Browse the repository at this point in the history
* Add loadBalancerIP to webclient chart

* Bump webclient chart version

---------

Co-authored-by: Philip Dakowitz <[email protected]>
  • Loading branch information
philip-weyer and philmtd authored Jul 9, 2024
1 parent 6f36c86 commit f4c7ec5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sophora-webclient/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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: 1.2.1
version: 1.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 Down
3 changes: 3 additions & 0 deletions charts/sophora-webclient/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
{{- include "webclient.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{ if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP | quote }}
{{- end }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
Expand Down

0 comments on commit f4c7ec5

Please sign in to comment.