Skip to content

feat: introduce catalog of operand images - #3711

Merged
gbartolini merged 7 commits into
cloudnative-pg:mainfrom
fcanovai:imagecatalog
Mar 5, 2024
Merged

gbartolini merged 7 commits into
cloudnative-pg:mainfrom
fcanovai:imagecatalog

Conversation

@fcanovai

@fcanovai fcanovai commented Jan 20, 2024 •

Copy link
Copy Markdown
Contributor

This pull request introduces the ImageCatalog and ClusterImageCatalog Custom Resource Definitions (CRDs), enabling users to specify operand container images for each major version of PostgreSQL. These CRDs support respectively namespace-scoped and cluster-scoped resources, allowing for versatile image management.

Key Features:

  • Image Versioning: Users can define images for different major versions of PostgreSQL within the catalog.
  • Automatic Updates: Changing the image in the catalog triggers automatic updates for all clusters using it.
  • Flexibility: The major version information included in the catalog provides flexibility, allowing users to circumvent image naming restrictions imposed by imageName.

This enhancement enhances the overall usability and efficiency of managing container images within the system.

Closes #12

@github-actions github-actions Bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.20 labels Jan 20, 2024
@github-actions

Copy link
Copy Markdown
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@fcanovai fcanovai added do not backport This PR must not be backported - it will be in the next minor release and removed backport-requested ◀️ This pull request should be backported to all supported releases labels Jan 20, 2024
@sxd sxd removed the release-1.20 label Feb 6, 2024
@leonardoce
leonardoce marked this pull request as ready for review February 27, 2024 10:02
@leonardoce
leonardoce force-pushed the imagecatalog branch 3 times, most recently from 0b4d68b to 495fc01 Compare February 28, 2024 08:43
@leonardoce

Copy link
Copy Markdown
Contributor

fcanovai and others added 7 commits March 5, 2024 18:15
Add the CRDs ImageCatalog and ClusterImageCatalog. This will allow
users to define an image to use for each major version of PostgreSQL,
in namespace-scoped or cluster-scoped resources.
Changing the image in the catalog will trigger updates for the clusters
using it.
The major version is included in the catalog, and can be be
leveraged to avoid the image naming restriction `imageName` has.

Closes cloudnative-pg#12

Signed-off-by: Francesco Canovai <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
@gbartolini gbartolini changed the title feat: image catalog feat: catalog of container images Mar 5, 2024
@gbartolini gbartolini changed the title feat: catalog of container images feat: introduce catalog of operand images Mar 5, 2024
@gbartolini

gbartolini commented Mar 5, 2024 •

Copy link
Copy Markdown
Contributor

Awesome patch! Well done @fcanovai. Important foundation for future improvements.

@gbartolini gbartolini added this to the 1.23.0 milestone Mar 5, 2024
@gbartolini
gbartolini merged commit 155baa1 into cloudnative-pg:main Mar 5, 2024
@fcanovai
fcanovai deleted the imagecatalog branch June 25, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not backport This PR must not be backported - it will be in the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Catalog of PostgreSQL images

5 participants