Cut Grafana PostgreSQL over to CloudNativePG
This commit is contained in:
1 parent
065a0b0953
commit
9d54a7f1e0
5 files changed
+5
-45
No files matched your search
@@ -20,7 +20,7 @@ patches:
|
||||
env:
|
||||
- {name: BACKUP_TARGET, value: grafana}
|
||||
- {name: BACKUP_MODE, value: database}
|
||||
- {name: PGHOST, value: postgresql}
|
||||
- {name: PGHOST, value: grafana-postgresql-rw}
|
||||
- name: PGUSER
|
||||
valueFrom: {secretKeyRef: {name: grafana-postgresql, key: USERDB_USER}}
|
||||
- name: PGDATABASE
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
settings:
|
||||
existingSecret: grafana-postgresql
|
||||
superuser:
|
||||
secretKey: POSTGRES_USER
|
||||
superuserPassword:
|
||||
secretKey: POSTGRES_PASSWORD
|
||||
|
||||
userDatabase:
|
||||
existingSecret: grafana-postgresql
|
||||
name:
|
||||
secretKey: USERDB_NAME
|
||||
user:
|
||||
secretKey: USERDB_USER
|
||||
password:
|
||||
secretKey: USERDB_PASSWORD
|
||||
|
||||
storage:
|
||||
requestedSize: 5Gi
|
||||
className: rook-ceph-block
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
whenDeleted: Retain
|
||||
whenScaled: Retain
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 512Mi
|
||||
@@ -58,7 +58,7 @@ grafana.ini:
|
||||
startTLS_policy: MandatoryStartTLS
|
||||
database:
|
||||
type: postgres
|
||||
host: postgresql.grafana.svc.cluster.local
|
||||
host: grafana-postgresql-rw.grafana.svc.cluster.local
|
||||
name: grafana
|
||||
user: grafana
|
||||
auth:
|
||||
|
||||
Reference in new issue
Block a user