This commit is contained in:
2025-01-13 00:32:08 +01:00
parent b2d37a9c5a
commit 33caf58f9c
17 changed files with 664 additions and 28 deletions

View File

@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "plex.fullname" . }}
labels:
{{- include "plex.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
{{- range .Values.service.additional }}
- port: {{ .port }}
targetPort: {{ .name }}
protocol: {{ .protocol }}
name: {{ .name }}
{{- end }}
selector:
{{- include "plex.selectorLabels" . | nindent 4 }}