apps/plausible/resources/clickhouse/events-db.yaml
Peter Kurfer bc3da36f9b
All checks were successful
Renovate / renovate (push) Successful in 57s
fix(plausible): allow access from everywhere to ClickHouse
2024-11-26 21:47:00 +01:00

38 lines
993 B
YAML

apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
name: "events-db"
spec:
defaults:
templates:
dataVolumeClaimTemplate: data-volume-template
logVolumeClaimTemplate: log-volume-template
configuration:
users:
plausible/password_sha256_hex: 772a9686f7ddf4b83dbcba413205be25e45f60557c1a6f54440c4a66783462c2
plausible/networks/ip:
- 0.0.0.0/0
clusters:
- name: "plausible"
layout:
shardsCount: 1
replicasCount: 1
templates:
volumeClaimTemplates:
- name: data-volume-template
spec:
storageClassName: "hcloud-volumes"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
- name: log-volume-template
spec:
storageClassName: "hcloud-blob"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi