Added postgres and dragonflydb to grafana

This commit is contained in:
Dreaded_X 2024-12-31 04:06:01 +01:00
parent acf918bfc2
commit ac6f0852d7
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
2 changed files with 23 additions and 1 deletions

View File

@ -7,6 +7,10 @@ resources:
- ./release.yaml
- ./lldap.yaml
components:
- ../../common/postgres
- ../../common/dragonflydb
configurations:
- nameReference.yaml

View File

@ -13,7 +13,7 @@ spec:
version: 8.8.2
interval: 15m
values:
replicas: 1
replicas: 2
ingress:
enabled: true
@ -32,6 +32,24 @@ spec:
auth.ldap:
enabled: true
database:
type: postgres
host: $__file{/etc/secrets/db/host}
name: $__file{/etc/secrets/db/dbname}
user: $__file{/etc/secrets/db/user}
password: $__file{/etc/secrets/db/password}
remote_cache:
type: redis
connstr: addr=dragonflydb.grafana:6379
ldap:
enabled: true
existingSecret: grafana-ldap-toml
extraSecretMounts:
- name: grafana-db-cluster-app-mount
secretName: grafana-db-cluster-app
defaultMode: 0440
mountPath: /etc/secrets/db
readOnly: true