apps/plausible/resources/clickhouse/events-db.yaml
Peter Kurfer fed210c3d8
All checks were successful
Renovate / renovate (push) Successful in 1m1s
feat(plausible): move ClickHouse DB to namespace
2024-11-26 21:07:59 +01:00

35 lines
943 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
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