Add ClusterImageCatalog

This commit is contained in:
Daniel Cosme
2026-05-05 13:45:42 -04:00
parent eee3907f1c
commit 75e85bc116
5 changed files with 73 additions and 14 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: postgresql.cnpg.io/v1
kind: ClusterImageCatalog
metadata:
name: pg-minimal-trixie
spec:
images:
- extensions:
- image:
reference: ghcr.io/cloudnative-pg/pgvector:0.8.2-18-trixie
name: pgvector
image: ghcr.io/cloudnative-pg/postgresql:18.3-minimal-trixie
major: 18

View File

@@ -5,5 +5,6 @@ metadata:
namespace: cnpg-cluster
resources:
- cluster-namespace.yaml
- image-cataglog.yaml
- immich-db.yaml
- pg-cluster.yaml

View File

@@ -5,6 +5,11 @@ metadata:
namespace: cnpg-cluster
spec:
affinity: {}
imageCatalogRef:
apiGroup: postgresql.cnpg.io/v1
kind: ClusterImageCatalog
major: 18
name: pg-minimal-trixie
instances: 3
managed:
roles:
@@ -13,6 +18,9 @@ spec:
passwordSecret:
name: immich
postgresql:
extensions:
- image: {}
name: pgvector
syncReplicaElectionConstraint:
enabled: false
resources: {}