infra/k8s/keycloak/database.yaml

23 lines
457 B
YAML

apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
name: keycloak-database
spec:
spiloFSGroup: 103 # https://github.com/zalando/postgres-operator/issues/988
teamId: keycloak
volume:
size: 20Gi
numberOfInstances: 2
users:
superuser:
- superuser
- createdb
keycloak: []
databases:
keycloak: keycloak
preparedDatabases:
keycloak: {}
postgresql:
version: "16"
tls:
secretName: database-certificate