add pg
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simple_Not 2023-12-14 20:50:06 +10:00
parent 77f6057d9d
commit ef1a857abe
2 changed files with 26 additions and 2 deletions

View File

@ -38,3 +38,23 @@ metadata:
type: Opaque
data:
pgadmin-default-password: YWRtb24=
---
apiVersion: v1
kind: ConfigMap
metadata:
name: pgadmin-config
namespace: pg
data:
servers.json: |
{
"Servers": {
"1": {
"Name": "pg-k8s",
"Group": "Servers",
"Port": 15432,
"Username": "admin",
"Host": "pg.guaranteedstruggle.host",
"MaintenanceDB": "mainbase"
}
}
}

View File

@ -43,6 +43,10 @@ spec:
volumeMounts:
- mountPath: /var/lib/pgadmin
name: pgadmin
- name: pgadmin-config
mountPath: /pgadmin4/servers.json
subPath: servers.json
readOnly: true
volumes:
- name: pgadmin