Skip to content

Commit

Permalink
fix(k8s/postgres-proxy): Fix deployment of postgres-proxy
Browse files Browse the repository at this point in the history
We need to define service, to be able to contact it by FQDN.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Nov 12, 2024
1 parent 933a342 commit a5d36c8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions kube/aks/kcidb-postgres-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ spec:
secret:
secretName: pipeline-secrets
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
name: kernelci-pipeline-postgres
namespace: kernelci-pipeline
spec:
ports:
- port: 5432
targetPort: 5432
selector:
app: kernelci-pipeline-postgres

0 comments on commit a5d36c8

Please sign in to comment.