plausible-hosting/chart/plausible-analytics/templates/service.yaml
2021-05-15 09:31:31 +12:00

21 lines
503 B
YAML

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