50 lines
1.0 KiB
YAML
50 lines
1.0 KiB
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Cluster
|
|
metadata:
|
|
name: weyma-pgsql
|
|
spec:
|
|
instances: 3
|
|
|
|
imageName: ghcr.io/cloudnative-pg/postgresql:16.9.5-bullseye
|
|
|
|
storage:
|
|
size: 20Gi
|
|
storageClass: rook-ceph-block
|
|
|
|
backup:
|
|
barmanObjectStore:
|
|
destinationPath: "s3://weyma-talos-shared-pgsql-backup/"
|
|
endpointURL: http://10.105.15.20:9000
|
|
s3Credentials:
|
|
accessKeyId:
|
|
key: s3AccessKey
|
|
name: s3-backup-creds
|
|
secretAccessKey:
|
|
key: s3SecretKey
|
|
name: s3-backup-creds
|
|
|
|
inheritedMetadata:
|
|
labels:
|
|
metrics_enabled: "true"
|
|
|
|
managed:
|
|
roles:
|
|
- name: williamp
|
|
ensure: present
|
|
comment: William Peebles
|
|
login: true
|
|
superuser: true
|
|
passwordSecret:
|
|
name: williamp-auth
|
|
- name: authentik
|
|
ensure: present
|
|
comment: authentik
|
|
login: true
|
|
passwordSecret:
|
|
name: authentik-auth
|
|
- name: gitea
|
|
ensure: present
|
|
comment: gitea
|
|
login: true
|
|
passwordSecret:
|
|
name: gitea-auth |