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
23 lines
491 B
YAML
23 lines
491 B
YAML
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
|