Skip to content

Commit

Permalink
Merge pull request #129 from iawia002/node-port
Browse files Browse the repository at this point in the history
charts: support configuring nodePort for the dashboard web
  • Loading branch information
karmada-bot authored Sep 24, 2024
2 parents cfc7af3 + bea81be commit e0ad979
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
{{- if and (eq .Values.web.service.type "NodePort") (not (empty .Values.web.service.nodePort)) }}
nodePort: {{ .Values.web.service.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 e0ad979

Please sign in to comment.