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