forked from ab/homelab
35 lines
931 B
YAML
35 lines
931 B
YAML
![]() |
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
|