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.
23 lines
507 B
YAML
23 lines
507 B
YAML
1 year ago
|
apiVersion: kubegres.reactive-tech.io/v1
|
||
|
kind: Kubegres
|
||
|
metadata:
|
||
|
name: recipes-db
|
||
|
namespace: tandoor
|
||
|
spec:
|
||
|
replicas: 2
|
||
|
image: postgres:16-alpine
|
||
|
database:
|
||
|
size: 2Gi
|
||
|
env:
|
||
|
- name: POSTGRES_PASSWORD
|
||
|
valueFrom:
|
||
|
secretKeyRef:
|
||
|
name: recipes-secret
|
||
|
key: postgresql-password
|
||
|
|
||
|
- name: POSTGRES_REPLICATION_PASSWORD
|
||
|
valueFrom:
|
||
|
secretKeyRef:
|
||
|
name: recipes-secret
|
||
|
key: replication-password
|