Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions helm/kagent/templates/ui-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ spec:
ports:
- port: {{ .Values.ui.service.ports.port }}
targetPort: {{ .Values.ui.service.ports.targetPort }}
{{- if and (eq .Values.ui.service.type "NodePort") .Values.ui.service.ports.nodePort }}
nodePort: {{ .Values.ui.service.ports.nodePort }}
{{- end }}
protocol: TCP
name: ui
selector:
Expand Down
1 change: 1 addition & 0 deletions helm/kagent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ ui:
ports:
port: 8080
targetPort: 8080
nodePort: null
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this null and not 0?

env: {} # Additional configuration key-value pairs for the ui ConfigMap
# -- Pod-level security context for the UI pod. Overrides the global podSecurityContext.
# @default -- (uses global podSecurityContext)
Expand Down
Loading