fix timescale image

This commit is contained in:
Hoang Nguyen
2026-05-06 11:56:58 +02:00
parent db658c7675
commit 06cdaf8daf
4 changed files with 14 additions and 5 deletions

View File

@@ -4,11 +4,11 @@ metadata:
name: timescale-cluster name: timescale-cluster
spec: spec:
instances: 3 instances: 3
imageName: ghcr.io/cloudnative-pg/postgresql:pg15 imageName: ghcr.io/cloudnative-pg/postgresql:15
bootstrap: bootstrap:
initdb: initdb:
database: app database: app
owner: app owner: app
postInitSQL: postInitSQL:
- CREATE EXTENSION IF NOT EXISTS timescaledb; - CREATE EXTENSION IF NOT EXISTS timescaledb;
storage: storage:

View File

@@ -11,8 +11,11 @@ data:
name: timescale-restore-test name: timescale-restore-test
spec: spec:
instances: 1 instances: 1
imageName: ghcr.io/cloudnative-pg/postgresql:pg15 imageName: ghcr.io/cloudnative-pg/postgresql:15
bootstrap: bootstrap:
initdb:
postInitSQL:
- CREATE EXTENSION IF NOT EXISTS timescaledb;
recovery: recovery:
source: timescale-cluster source: timescale-cluster
recoveryTarget: recoveryTarget:

View File

@@ -5,8 +5,11 @@ metadata:
namespace: database namespace: database
spec: spec:
instances: 1 instances: 1
imageName: ghcr.io/cloudnative-pg/postgresql:pg15 imageName: ghcr.io/cloudnative-pg/postgresql:15
bootstrap: bootstrap:
initdb:
postInitSQL:
- CREATE EXTENSION IF NOT EXISTS timescaledb;
recovery: recovery:
source: timescale-cluster source: timescale-cluster
storage: storage:

View File

@@ -5,8 +5,11 @@ metadata:
namespace: database namespace: database
spec: spec:
instances: 1 instances: 1
imageName: ghcr.io/cloudnative-pg/postgresql:pg15 imageName: ghcr.io/cloudnative-pg/postgresql:15
bootstrap: bootstrap:
initdb:
postInitSQL:
- CREATE EXTENSION IF NOT EXISTS timescaledb;
recovery: recovery:
source: timescale-cluster source: timescale-cluster
recoveryTarget: recoveryTarget: