Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat( cluster ): cluster.imageCatalogRef; ImageCatalog support; TimescaleDB support #306

Merged
merged 24 commits into from
Sep 8, 2024

Conversation

itay-grudev
Copy link
Collaborator

@itay-grudev itay-grudev commented May 30, 2024

  • Added support for cluster.imageCatalogRef (@paraddise)
  • Added support for custom image catalogs via: imageCatalog
  • Added support for the official TimescaleDB docker image via an embedded ImageCatalog

There is a bit of complication and checks, when using TimescaleDB, because the default UID and GID need to be set to 1000, when using the timescaledb-ha docker image.

This PR adds the following new field version that allows you to select the major PostgreSQL version, as well as TimescaleDB and PostGIS versions:

version:
  # -- PostgreSQL major version to use
  postgresql: "16"
  # -- If using TimescaleDB, specify the version
  timescaledb: "2.15"
  # -- If using PostGIS, specify the version
  postgis: "3.4"

P.S. The PR intentionally doesn't use the official ClusterImageCatalogs for backwards compatibility and instead sets cluster.imageName.

Closes: #276
Closes: #297
Closes: #277

itay-grudev and others added 4 commits May 25, 2024 19:47
Co-authored-by: Булат Гафуров <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
@itay-grudev itay-grudev added the chart( cluster ) Related to the cluster chart label May 30, 2024
@itay-grudev itay-grudev added this to the release( cluster ): 1.0.0 milestone May 30, 2024
@itay-grudev itay-grudev requested a review from phisco May 30, 2024 13:40
@itay-grudev itay-grudev self-assigned this May 30, 2024
Copy link

@jaredbischof jaredbischof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested and validated the TimescaleDB deployment in five different Kubernetes environments.

itay-grudev and others added 2 commits September 4, 2024 10:23
Co-authored-by: Philippe Scorsolini <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Copy link
Collaborator

@phisco phisco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit convoluted for my taste, but it works as expected

@itay-grudev itay-grudev merged commit e58ae83 into main Sep 8, 2024
5 checks passed
@itay-grudev itay-grudev deleted the dev/276 branch September 8, 2024 22:11
hapeho pushed a commit to hapeho/cloudnative-pg-charts that referenced this pull request Dec 18, 2024
…caleDB support (cloudnative-pg#306)

* Added support for imageCatalogRef
* Added support for custom ImageCatalog
* Added support for TimescaleDB
* Alternative postgresql version approach allowing for minor version in the specs

Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Co-authored-by: Булат Гафуров <[email protected]>
Co-authored-by: Philippe Scorsolini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking changes chart( cluster ) Related to the cluster chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(cluster): Add support for TimescaleDB feat(cluster): Add support for ImageCatalog
4 participants