infra/charts/koodo-reader/templates/service.yaml
2026-01-08 18:46:07 +03:00

22 lines
524 B
YAML

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