mirror of
https://github.com/plausible/hosting.git
synced 2024-09-07 02:01:05 -05:00
21 lines
503 B
YAML
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 }}
|