update ingress-nginx to expose port 5432 for postgresql
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
spec:
|
||||
ports:
|
||||
- name: postgresql-tcp
|
||||
port: 5432
|
||||
targetPort: 5432
|
||||
protocol: TCP
|
||||
@@ -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)"
|
||||
Reference in New Issue
Block a user