forked from ab/homelab
Added psql
This commit is contained in:
34
k8s/core/postgresql/values.yaml
Normal file
34
k8s/core/postgresql/values.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
image:
|
||||
tag: "9"
|
||||
pullPolicy: Always
|
||||
env:
|
||||
email: "postgres@hexor.cy"
|
||||
envVarsFromSecrets: [postgres-secret]
|
||||
envVarsExtra:
|
||||
- name: PGADMIN_CONFIG_AUTHENTICATION_SOURCES
|
||||
value: "['oauth2']"
|
||||
- name: PGADMIN_CONFIG_OAUTH2_NAME
|
||||
value: '"Authentik"'
|
||||
- name: PGADMIN_CONFIG_OAUTH2_AUTO_CREATE_USER
|
||||
value: "True"
|
||||
- name: PGADMIN_CONFIG_OAUTH2_USERNAME_CLAIM
|
||||
value: '"email"'
|
||||
existingSecret: "postgres-secret"
|
||||
secretKeys:
|
||||
pgadminPasswordKey: PGADMIN_DEFAULT_PASSWORD
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: traefik
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
|
||||
hosts:
|
||||
- host: pg.hexor.cy
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- secretName: pgadmin-tls
|
||||
hosts:
|
||||
- pg.hexor.cy
|
Reference in New Issue
Block a user