Files
helm-charts/radicle/templates/service.yaml

20 lines
457 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "radicle.fullname" . }}
labels:
{{- include "radicle.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.tcp }}
targetPort: tcp
protocol: TCP
name: tcp
- port: {{ .Values.service.http }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "radicle.selectorLabels" . | nindent 4 }}