Skip to content

Commit

Permalink
charts: support configuring nodePort for the dashboard web
Browse files Browse the repository at this point in the history
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
  • Loading branch information
iawia002 committed Sep 20, 2024
1 parent cfc7af3 commit 89387af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- with .Values.web.service.nodePort }}
nodePort: {{ . }}
{{- end }}
selector:
{{- include "karmada-dashboard.web.labels" . | nindent 4 }}
1 change: 1 addition & 0 deletions charts/karmada-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,4 @@ web:
service:
type: ClusterIP
port: 8000
# nodePort: 32000

0 comments on commit 89387af

Please sign in to comment.