feat: Add Matomo Chart for analytics
Also adds the Digitalist Chart as Backup in case the bitnami one stops working.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{{- range $service := .Values.extraServices }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: matomo-extra-{{ $service.name }}
|
||||
spec:
|
||||
type: {{ $service.type }}
|
||||
ports:
|
||||
- port: {{ $service.port }}
|
||||
targetPort: {{ $service.name }}
|
||||
protocol: {{ $service.protocol }}
|
||||
name: {{ $service.name }}
|
||||
{{- if and ( or (eq $service.type "LoadBalancer") (eq $service.type "NodePort") ) ($service.nodePort) }}
|
||||
nodePort: {{ $service.nodePort }}
|
||||
{{- end }}
|
||||
{{- if and (eq $service.type "LoadBalancer") ($service.loadBalancerIP) }}
|
||||
loadBalancerIP: {{ $service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if $service.clusterIP }}
|
||||
clusterIP: {{ $service.clusterIP }}
|
||||
{{- end }}
|
||||
selector:
|
||||
{{- range $index, $content := $service.selector }}
|
||||
{{ $index }}: {{ $content }}
|
||||
{{- end }}
|
||||
---
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user