rancher-partner-charts/charts/prophetstor/federatorai/templates/federatorai-dashboard-backend/services.yaml

26 lines
703 B
YAML

---
apiVersion: v1
kind: Service
metadata:
annotations:
{{- if .Values.global.commonAnnotations }}
{{- include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | 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-backend
name: federatorai-dashboard-backend
namespace: {{ .Release.Namespace }}
spec:
ports:
- port: 8081
protocol: TCP
targetPort: 8081
selector:
component: federatorai-dashboard-backend
type: ClusterIP