apiVersion: kubegres.reactive-tech.io/v1 kind: Kubegres metadata: name: forgejo-db namespace: forgejo spec: replicas: 2 image: postgres:16-alpine database: size: 10Gi env: - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: name: postgres-secret key: superUserPassword - name: POSTGRES_REPLICATION_PASSWORD valueFrom: secretKeyRef: name: postgres-secret key: replicationUserPassword