feat: add keycloak and postgres

This commit is contained in:
Masaki Yatsu
2025-08-15 11:21:54 +09:00
parent 81016267af
commit ed1ba74797
20 changed files with 1656 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
auth:
adminUser: {{ .Env.KEYCLOAK_ADMIN_USER }}
existingSecret: keycloak-credentials
passwordSecretKey: password
postgresql:
enabled: false
externalDatabase:
host: postgres-cluster-rw.postgres
port: 5432
database: keycloak
existingSecret: database-config
existingSecretUserKey: user
existingSecretPasswordKey: password
tls:
enabled: true
autoGenerated:
enabled: true
engine: helm
# Keycloak pod may not start with the default memory limits
resources:
limits:
memory: 1.5Gi
requests:
memory: 1Gi
# image:
# debug: true
# logging:
# level: DEBUG
ingress:
enabled: true
ingressClassName: traefik
hostname: {{ .Env.KEYCLOAK_HOST }}
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
tls: true