2026-05-28 13:18:46 +03:00

20 lines
510 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "omegabasms.fullname" . }}-backend
labels:
{{- include "omegabasms.backend.labels" . | nindent 4 }}
{{- with .Values.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.backend.service.type }}
ports:
- port: {{ .Values.backend.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "omegabasms.backend.selectorLabels" . | nindent 4 }}