Skip to content

Commit

Permalink
[sophora-server]: use configured HTTP port for server mode labeler (#112
Browse files Browse the repository at this point in the history
) (#113)
  • Loading branch information
hehu80 authored Jul 16, 2024
1 parent 38a4c04 commit 6849432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sophora-server/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: 2.3.2
version: 2.3.3

# 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
2 changes: 2 additions & 0 deletions charts/sophora-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: SERVER_URL
value: "http://localhost:{{ .Values.sophora.server.ports.http }}"
resources:
{{- toYaml .Values.serverModeLabeler.resources | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 6849432

Please sign in to comment.