37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
{{- if .Values.global.commonAnnotations }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.federatoraiDashboardFrontend.service.annotations }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- if .Values.global.commonLabels }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonLabels "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
app.kubernetes.io/part-of: federatorai
|
|
app: alameda
|
|
component: federatorai-dashboard-frontend
|
|
name: federatorai-dashboard-frontend
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
{{- if .Values.federatoraiDashboardFrontend.service.clusterIP }}
|
|
clusterIP: {{ .Values.federatoraiDashboardFrontend.service.clusterIP }}
|
|
{{- end }}
|
|
ports:
|
|
- name: frontend-http
|
|
port: 9000
|
|
protocol: TCP
|
|
targetPort: 9000
|
|
- name: frontend-https
|
|
port: 9001
|
|
protocol: TCP
|
|
targetPort: 9001
|
|
selector:
|
|
component: federatorai-dashboard-frontend
|
|
type: ClusterIP
|