Files
postiz-helmchart/charts/postiz/templates/postiz-service.yaml
T
2024-12-10 12:09:13 +01:00

19 lines
481 B
YAML

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