66 lines
1.9 KiB
YAML
66 lines
1.9 KiB
YAML
image:
|
|
pullPolicy: IfNotPresent
|
|
repository: ghcr.io/umami-software/umami
|
|
tag: postgresql-v2.8.0@sha256:0099e9c3b321d7e93fd6d539070faf6a19db07f6bbf21ddf39019a874dd25145
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: unami
|
|
database: unami
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsGroup: 1001
|
|
runAsUser: 1001
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10381
|
|
protocol: http
|
|
umami:
|
|
client_ip_header: ""
|
|
collect_api_endpoint: /api/collect
|
|
disable_login: false
|
|
disable_telemetry: true
|
|
disable_updates: true
|
|
force_ssl: true
|
|
hostname: ""
|
|
ignore_ip:
|
|
- 1.1.1.1
|
|
- 2.2.2.2
|
|
remove_trailing_slash: true
|
|
tracker_script_name: umami
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
CLIENT_IP_HEADER: "{{ .Values.umami.client_ip_header }}"
|
|
COLLECT_API_ENDPOINT: "{{ .Values.umami.collect_api_endpoint }}"
|
|
DATABASE_TYPE: postgresql
|
|
DATABASE_URL:
|
|
secretKeyRef:
|
|
name: cnpg-main-urls
|
|
key: host
|
|
DISABLE_LOGIN: '{{ ternary "1" "0" .Values.umami.disable_login }}'
|
|
DISABLE_TELEMETRY:
|
|
'{{ ternary "1" "0" .Values.umami.disable_telemetry
|
|
}}'
|
|
DISABLE_UPDATES: '{{ ternary "1" "0" .Values.umami.disable_updates }}'
|
|
FORCE_SSL: '{{ ternary "1" "0" .Values.umami.force_ssl }}'
|
|
HOSTNAME: "{{ .Values.umami.hostname }}"
|
|
IGNORE_IP: '{{ join "," .Values.umami.ignore_ip }}'
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
REMOVE_TRAILING_SLASH:
|
|
'{{ ternary "1" "0" .Values.umami.remove_trailing_slash
|
|
}}'
|
|
TRACKER_SCRIPT_NAME: "{{ .Values.umami.tracker_script_name }}"
|
|
envFrom:
|
|
- secretRef:
|
|
name: umami-secret
|