Change clusterImageCatalog for imageCatalog
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: ClusterImageCatalog
|
kind: ImageCatalog
|
||||||
metadata:
|
metadata:
|
||||||
name: pg-minimal-trixie
|
name: pg-minimal-trixie
|
||||||
|
namespace: cnpg-cluster
|
||||||
spec:
|
spec:
|
||||||
images:
|
images:
|
||||||
- image: ghcr.io/cloudnative-pg/postgresql:18.3-minimal-trixie
|
- image: ghcr.io/cloudnative-pg/postgresql:18.3-minimal-trixie
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ spec:
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
imageCatalogRef:
|
imageCatalogRef:
|
||||||
apiGroup: postgresql.cnpg.io/v1
|
apiGroup: postgresql.cnpg.io/v1
|
||||||
kind: ClusterImageCatalog
|
kind: ImageCatalog
|
||||||
major: 18
|
major: 18
|
||||||
name: pg-minimal-trixie
|
name: pg-minimal-trixie
|
||||||
instances: 3
|
instances: 3
|
||||||
|
|||||||
@@ -75,10 +75,10 @@ func Cluster() pg.Cluster {
|
|||||||
func ImageCatalog() pg.ImageCatalog {
|
func ImageCatalog() pg.ImageCatalog {
|
||||||
return pg.ImageCatalog{
|
return pg.ImageCatalog{
|
||||||
TypeMeta: meta.TypeMeta{
|
TypeMeta: meta.TypeMeta{
|
||||||
Kind: "ClusterImageCatalog",
|
Kind: "ImageCatalog",
|
||||||
APIVersion: "postgresql.cnpg.io/v1",
|
APIVersion: "postgresql.cnpg.io/v1",
|
||||||
},
|
},
|
||||||
ObjectMeta: kube.ObjectMeta(root.PG_VERSION_NAME, ""),
|
ObjectMeta: kube.ObjectMeta(root.PG_VERSION_NAME, root.PGClusterNamespace.Name),
|
||||||
Spec: pg.ImageCatalogSpec{
|
Spec: pg.ImageCatalogSpec{
|
||||||
Images: []pg.CatalogImage{
|
Images: []pg.CatalogImage{
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user