Skip to content

Commit 0cef4a0

Browse files
author
edgar sarkisian
committed
configure timescaleDB more
1 parent 6f55edd commit 0cef4a0

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

.scripts/helm/charts/on-demand/templates/timescaledb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
spec:
3838
containers:
3939
- name: timescaledb
40-
image: 'timescale/timescaledb:latest-pg17'
40+
image: 'timescale/timescaledb:2.23.1-pg17'
4141
env:
4242
- name: POSTGRES_USER
4343
value: {{ $.Values.components.timescaledb.credentials.user }}

.scripts/helm/charts/on-demand/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ components:
102102
memory: "100Mi"
103103
timescaledb:
104104
enabled: false
105-
capacity: 10Gi
105+
capacity: 20Gi
106106
port: 5432
107107
credentials:
108108
user: "oracle" ## TODO: set default user, password, db

.scripts/kubernetes/k8s-oracle-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ helm upgrade -i "sb-oracle-${NETWORK}" \
8181
--set components.gateway.enabled=${GATEWAY_ENABLED} \
8282
--set components.gateway.image="${GATEWAY_DOCKER_IMAGE}" \
8383
--set components.timescaledb.enabled=${TMESCALEDB_ENABLED} \
84+
--set components.timescaledb.capcity=${TIMESCALEDB_CAPACITY} \
8485
"${helm_on_demand_chart_dir}" >/dev/null
8586
printf "HELM: Switchboard Oracle installed under namespace ${NAMESPACE}\n"
8687

cfg/00-devnet-vars.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ ORACLE_ENABLED=true
3939
GUARDIAN_ENABLED=false
4040
GATEWAY_ENABLED=true
4141
TIMESCALEDB_ENABLED=true
42+
TIMESCALEDB_CAPACITY=10Gi
4243

4344
NAMESPACE="switchboard-oracle-${NETWORK}"
4445

cfg/00-mainnet-vars.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ ORACLE_ENABLED=true
3939
GUARDIAN_ENABLED=false
4040
GATEWAY_ENABLED=true
4141
TIMESCALEDB_ENABLED=true
42+
TIMESCALEDB_CAPACITY=20Gi
4243

4344
NAMESPACE="switchboard-oracle-${NETWORK}"
4445

0 commit comments

Comments
 (0)