30 lines
962 B
YAML
30 lines
962 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
annotations: {{ include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | nindent 4 }}
|
||
|
{{- with .Values.federatoraiDashboardFrontend.service.annotations }}
|
||
|
{{- toYaml . | nindent 4 }}
|
||
|
{{- end }}
|
||
|
labels: {{ include "render-value" ( dict "value" .Values.global.commonLabels "context" .) | nindent 4 }}
|
||
|
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
|