You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
515 B
YAML
27 lines
515 B
YAML
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
|