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
1 change: 1 addition & 0 deletions charts/hami-webui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ The command removes all the Kubernetes components associated with the chart and
| securityContext | object | `{}` | |
| service.port | int | `3000` | |
| service.type | string | `"ClusterIP"` | |
| service.nodePort | int | `30000` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
Expand Down
3 changes: 3 additions & 0 deletions charts/hami-webui/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
targetPort: http
protocol: TCP
name: http
Expand Down
1 change: 1 addition & 0 deletions charts/hami-webui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ securityContext: {}
service:
type: ClusterIP
port: 3000
nodePort: 30000

ingress:
enabled: false
Expand Down