update ingress-nginx to expose port 5432 for postgresql

This commit is contained in:
2024-06-19 01:34:08 +10:00
parent 474834ea2d
commit 80b6796a41
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)"