This repo builds Docker images for CloudNativePG with the TimescaleDB extension installed.
Both versions are automatically updated by Renovate bot, so new releases will be available within a few hours.
Images are available at ghcr.io/clevyr/cloudnativepg-timescale
. There are tags available for Postgres v14, v15, and v16.
Set .spec.imageName
in the Cluster
to use one of the container images provided by this repository.
For example:
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: example
spec:
instances: 3
imageName: ghcr.io/clevyr/cloudnativepg-timescale:16-ts2
postgresql:
shared_preload_libraries:
- timescaledb
bootstrap:
initdb:
postInitTemplateSQL:
- CREATE EXTENSION IF NOT EXISTS timescaledb;
- CREATE EXTENSION IF NOT EXISTS timescaledb_toolkit;
TimescaleDB is distributed under TSL license, you need to check if you are allowed to use this package here: https://www.timescale.com/legal/licenses