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,184 @@
|
||||
## @section Global parameters
|
||||
## Global Docker image parameters
|
||||
## Please, note that this will override the image parameters, configured to use the global value
|
||||
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
|
||||
|
||||
## @param global.imageRegistry Global Docker image registry
|
||||
## @param global.imagePullSecrets Global Docker registry secret names as an array
|
||||
##
|
||||
global:
|
||||
## As:
|
||||
## imageRegistry: "docker.io"
|
||||
imageRegistry: ""
|
||||
## As:
|
||||
## imagePullSecrets:
|
||||
## - myRegistryKeySecretName
|
||||
##
|
||||
imagePullSecrets: []
|
||||
namespace: matomo
|
||||
matomo:
|
||||
imageRegistry: ""
|
||||
## As:
|
||||
## imagePullSecrets:
|
||||
## - myRegistryKeySecretName
|
||||
imagePullSecrets: []
|
||||
image: digitalist/matomo:5.2.1
|
||||
runAsUser: 82
|
||||
installCommand: ./console plugin:activate ExtraTools && ./console matomo:install --install-file=/tmp/matomo/install.json --force --do-not-drop-db
|
||||
# Post install for helm chart. Starts a post-install-job.
|
||||
postInstallSleepTime: 5
|
||||
postInstallCommand: ""
|
||||
preUpgradeSleepTime: 5
|
||||
preUpgradeCommand: ""
|
||||
extralabels: {}
|
||||
## If you have a premium license for plugins, set it here.
|
||||
## you need to create the secret before referring it.
|
||||
## As:
|
||||
## license:
|
||||
## secretKeyRef:
|
||||
## name: matomo-license
|
||||
## key: matomo-license
|
||||
license:
|
||||
ingress:
|
||||
enabled: true
|
||||
extralabels: {}
|
||||
annotations:
|
||||
digitalist.cloud/instance: "matomo"
|
||||
cli:
|
||||
replicas: 1
|
||||
enabled: true
|
||||
cronJobs:
|
||||
coreArchive:
|
||||
enabled: true
|
||||
labels:
|
||||
name: matomo-jobs-corearchive
|
||||
instance: matomo
|
||||
component: cronjob
|
||||
partOf: matomo
|
||||
managedBy: helm
|
||||
schedule: "*/60 * * * *"
|
||||
concurrencyPolicy: Allow
|
||||
activeDeadlineSeconds: 43200
|
||||
command: ./console core:archive --disable-scheduled-tasks
|
||||
scheduledTasks:
|
||||
php:
|
||||
enabled: true
|
||||
labels:
|
||||
name: matomo-jobs-scheduled-tasks
|
||||
instance: matomo
|
||||
component: cronjob
|
||||
partOf: matomo
|
||||
managedBy: helm
|
||||
schedule: "*/60 * * * *"
|
||||
activeDeadlineSeconds: 43200
|
||||
command: ./console scheduled-tasks:run
|
||||
dashboard:
|
||||
sidecars: []
|
||||
## added like this:
|
||||
# sidecars:
|
||||
# - name: fpm-metrics
|
||||
# image: hipages/php-fpm_exporter:2.2.0
|
||||
# imagePullPolicy: IfNotPresent
|
||||
# resources:
|
||||
# limits:
|
||||
# cpu: 500m
|
||||
# memory: 256Mi
|
||||
# requests:
|
||||
# cpu: 40m
|
||||
# memory: 32Mi
|
||||
enabled: true
|
||||
replicas: 1
|
||||
loadbalancer: false
|
||||
hostname: my.host
|
||||
tls: false
|
||||
firstuser:
|
||||
username: admin
|
||||
password: admin123
|
||||
email: foo@example.com
|
||||
nginx:
|
||||
nginxWorkerProcesses: 5
|
||||
ingressClassName: ""
|
||||
queuedTrackingMonitor:
|
||||
enabled: true
|
||||
queuedTrackingProcess:
|
||||
replicas: 1
|
||||
tracker:
|
||||
enabled: true
|
||||
replicas: 1
|
||||
hostname: my.host
|
||||
tls: false
|
||||
loadbalancer: false
|
||||
nginx:
|
||||
resources:
|
||||
nginxWorkerProcesses: 5
|
||||
phpfpm:
|
||||
type: ondemand
|
||||
max_children: 75
|
||||
process_idle_timeout: 600s
|
||||
max_requests: 500
|
||||
ingressClassName: ""
|
||||
nginx:
|
||||
image: digitalist/nginx:1.21.6
|
||||
imagePullSecrets: []
|
||||
runAsUser: 100
|
||||
db:
|
||||
hostname: matomo-db-mysql
|
||||
password:
|
||||
secretKeyRef:
|
||||
name: matomo-db-mysql
|
||||
key: mysql-root-password
|
||||
name: matomo
|
||||
username: root
|
||||
prefix: matomo_
|
||||
xdebug:
|
||||
disabled: 1
|
||||
extraSecrets:
|
||||
create: false
|
||||
data: {}
|
||||
# * secrets need to base64 encoded.
|
||||
# data:
|
||||
# name: Zm9vCg==
|
||||
# bar: YmFyCg==
|
||||
extraServices: {}
|
||||
# - name: foo
|
||||
## Service port type
|
||||
# type: ClusterIP
|
||||
## Service protocol
|
||||
# protocol: TCP
|
||||
## The container target port
|
||||
# containerPort: 12001
|
||||
## The service port
|
||||
# port: 12001
|
||||
# selector:
|
||||
# app: matomo-dashboard
|
||||
## The node port (only relevant for type LoadBalancer or NodePort)
|
||||
# nodePort:
|
||||
## The cluster ip address (only relevant for type LoadBalancer or NodePort)
|
||||
# clusterIP:
|
||||
## The loadbalancer ip address (only relevant for type LoadBalancer)
|
||||
# loadBalancerIP:
|
||||
extraConfigMaps:
|
||||
create: true
|
||||
data: {}
|
||||
# data:
|
||||
# my.ini: |
|
||||
# extension=foo.so
|
||||
# foo.socket=tcp://bar:9309
|
||||
extraVolumes: []
|
||||
# extraVolumes:
|
||||
# - name: mySecretVolume
|
||||
# secret:
|
||||
# secretName: matomo-extra-secrets
|
||||
# - name: my.ini
|
||||
# configMap:
|
||||
# name: matomo-additional-config-maps
|
||||
# items:
|
||||
# - key: "my.ini"
|
||||
# path: "my.ini"
|
||||
extraVolumeMounts: []
|
||||
# extraVolumeMounts:
|
||||
# - name: mySecretVolume
|
||||
# mountPath: /foo/secrets/mySecretVolume/
|
||||
# - name: my.ini
|
||||
# mountPath: /usr/local/etc/php/conf.d/my.ini
|
||||
# subPath: my.ini
|
||||
Reference in New Issue
Block a user