Add Helm chart

This commit is contained in:
Caleb Woodbine
2020-10-20 22:17:01 +13:00
parent 445910ca62
commit 8388e00386
13 changed files with 809 additions and 0 deletions

View File

@ -0,0 +1,20 @@
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 }}