20 lines
525 B
YAML
20 lines
525 B
YAML
{{- if .Values.ui.deploy }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "tensorzero.fullname" . }}-ui
|
|
labels:
|
|
{{- include "tensorzero.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: ui
|
|
spec:
|
|
type: {{ .Values.ui.service.type | default "ClusterIP" }}
|
|
ports:
|
|
- port: {{ .Values.ui.service.port | default 80 }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "tensorzero.selectorLabels" . | nindent 4 }}
|
|
app.kubernetes.io/component: ui
|
|
{{- end }}
|