Merge pull request #435 from 3dwardch3ng/misc

expose pg database
This commit is contained in:
2024-07-12 18:21:28 +10:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -6,8 +6,6 @@ metadata:
data: data:
"53": "adguard-home/adguard-home:53" "53": "adguard-home/adguard-home:53"
"853": "adguard-home/adguard-home:853" "853": "adguard-home/adguard-home:853"
"5432": "postgresql/postgresql-primary:5432"
"5433": "postgresql/postgresql-replica:5432"
"5443": "adguard-home/adguard-home:5443" "5443": "adguard-home/adguard-home:5443"
"6060": "adguard-home/adguard-home:6060" "6060": "adguard-home/adguard-home:6060"
"8388": "qbittorrent/qbittorrent-qbittorrent-torrent:8388" "8388": "qbittorrent/qbittorrent-qbittorrent-torrent:8388"

View File

@@ -36,6 +36,8 @@ spec:
runAsGroup: 1000 runAsGroup: 1000
podLabels: podLabels:
name: "postgresql-primary" name: "postgresql-primary"
service:
type: "LoadBalancer"
persistence: persistence:
existingClaim: postgresql-primary-pvc existingClaim: postgresql-primary-pvc
selector: selector:
@@ -50,6 +52,8 @@ spec:
runAsGroup: 1000 runAsGroup: 1000
podLabels: podLabels:
name: "postgresql-replica" name: "postgresql-replica"
service:
type: "LoadBalancer"
persistence: persistence:
existingClaim: postgresql-replica-pvc existingClaim: postgresql-replica-pvc
selector: selector: