Merge pull request #219 from 3dwardch3ng/app/postgresql

update ingress-nginx to expose port 5432 for postgresql
This commit is contained in:
2024-06-19 01:34:28 +10:00
committed by GitHub
4 changed files with 11 additions and 9 deletions

View File

@@ -0,0 +1,6 @@
spec:
ports:
- name: postgresql-tcp
port: 5432
targetPort: 5432
protocol: TCP

View File

@@ -0,0 +1,4 @@
#!/bin/bash
set -e
kubectl patch service ingress-nginx-controller -n ingress-nginx --patch "$(cat ingress-nginx-svc-controller-patch.yaml)"

View File

@@ -6,6 +6,7 @@ metadata:
data:
"53": "flux-system/adguard-home:53"
"853": "flux-system/adguard-home:853"
"5432": "postgresql/postgresql:5432"
"5443": "flux-system/adguard-home:5443"
"6060": "flux-system/adguard-home:6060"
---

View File

@@ -1,9 +0,0 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: postgresql
namespace: flux-system
spec:
interval: 6h
type: oci
url: oci://registry-1.docker.io/bitnamicharts/postgresql