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)"
|
||||
@@ -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"
|
||||
---
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user