Expost postgres cluster
Expose the postgres cluster outside of the Kubernetes cluster Give myself the option of connecting to postgres from my own machines, so that I can hopefully leverage the improved performance Update some file linting issues in Nix Add necessary gitlab keys so it can be updated properly the next time I deploy to it Add DNS entries for postgres Update the configuraiton of Traefik to expose the appropriate ports
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
resources:
|
||||
- flux.yaml
|
||||
- traefik.yaml
|
||||
- external-secrets.yaml
|
||||
- cloudnative-pg.yaml
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: "helm.cattle.io/v1"
|
||||
kind: "HelmChartConfig"
|
||||
metadata:
|
||||
name: "traefik"
|
||||
namespace: "kube-system"
|
||||
spec:
|
||||
valuesContent: |-
|
||||
additionalArguments:
|
||||
- "--entryPoints.postgres.address=:5432/tcp"
|
||||
- "--api.dashboard=true"
|
||||
- "--api.insecure=true"
|
||||
- "--log.level=DEBUG"
|
||||
ports:
|
||||
postgres:
|
||||
expose:
|
||||
default: true
|
||||
port: 5432
|
||||
exposedPort: 5432
|
||||
protocol: TCP
|
||||
traefik:
|
||||
expose:
|
||||
default: true
|
||||
Reference in New Issue
Block a user