apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: name: wiki-js-cnpg namespace: wiki-js spec: instances: 1 enableSuperuserAccess: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/hostname operator: In values: - odroid-h3-00 - odroid-h3-01 - odroid-h3-02 - odroid-h3-03 - odroid-h3-04 preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 preference: matchExpressions: - key: kubernetes.io/hostname operator: In values: - odroid-h3-00 - odroid-h3-03 imageName: ghcr.io/cloudnative-pg/postgresql:17.11-standard-trixie bootstrap: initdb: database: wikijs owner: wikijs secret: name: wiki-js-cnpg-bootstrap storage: size: 5Gi storageClass: rook-ceph-block