Add imageName to Cluster
This commit is contained in:
@@ -5,11 +5,7 @@ metadata:
|
||||
namespace: cnpg-cluster
|
||||
spec:
|
||||
affinity: {}
|
||||
imageCatalogRef:
|
||||
apiGroup: postgresql.cnpg.io/v1
|
||||
kind: ImageCatalog
|
||||
major: 18
|
||||
name: pg-minimal-trixie
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:18.3-minimal-trixie
|
||||
instances: 3
|
||||
managed:
|
||||
roles:
|
||||
@@ -19,7 +15,8 @@ spec:
|
||||
name: immich
|
||||
postgresql:
|
||||
extensions:
|
||||
- image: {}
|
||||
- image:
|
||||
reference: ghcr.io/cloudnative-pg/pgvector:0.8.2-18-trixie
|
||||
name: pgvector
|
||||
syncReplicaElectionConstraint:
|
||||
enabled: false
|
||||
|
||||
@@ -42,18 +42,14 @@ func Cluster() pg.Cluster {
|
||||
StorageClassName: new(root.KUBE_LOCAL_STORAGE_CLASS),
|
||||
},
|
||||
},
|
||||
ImageCatalogRef: &pg.ImageCatalogRef{
|
||||
TypedLocalObjectReference: core.TypedLocalObjectReference{
|
||||
APIGroup: &image_catalog.APIVersion,
|
||||
Kind: image_catalog.Kind,
|
||||
Name: image_catalog.Name,
|
||||
},
|
||||
Major: root.PG_VERSION_18,
|
||||
},
|
||||
ImageName: root.PG_VERSION_18_IMAGE,
|
||||
PostgresConfiguration: pg.PostgresConfiguration{
|
||||
Extensions: []pg.ExtensionConfiguration{
|
||||
{
|
||||
Name: "pgvector",
|
||||
ImageVolumeSource: core.ImageVolumeSource{
|
||||
Reference: "ghcr.io/cloudnative-pg/pgvector:0.8.2-18-trixie",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user