This commit is contained in:
parent
77f6057d9d
commit
ef1a857abe
@ -37,4 +37,24 @@ metadata:
|
||||
namespace: pg
|
||||
type: Opaque
|
||||
data:
|
||||
pgadmin-default-password: YWRtb24=
|
||||
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"
|
||||
}
|
||||
}
|
||||
}
|
@ -42,7 +42,11 @@ spec:
|
||||
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/pgadmin
|
||||
name: pgadmin
|
||||
name: pgadmin
|
||||
- name: pgadmin-config
|
||||
mountPath: /pgadmin4/servers.json
|
||||
subPath: servers.json
|
||||
readOnly: true
|
||||
|
||||
volumes:
|
||||
- name: pgadmin
|
||||
|
Loading…
Reference in New Issue
Block a user