Skip to content

Commit d3f7ed2

Browse files
authored
chore: update Helm chart and docs to use bitnamilegacy (#88)
* chore: update Helm chart and docs to use bitnamilegacy * ran helm dependency update * fix TrinoCluster listenerClass config
1 parent 07409d1 commit d3f7ed2

File tree

10 files changed

+25
-9
lines changed

10 files changed

+25
-9
lines changed

deploy/helm/trino-lb/Chart.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
dependencies:
22
- name: redis-cluster
33
repository: https://charts.bitnami.com/bitnami/
4-
version: 9.1.3
4+
version: 10.2.3
55
- name: kube-prometheus-stack
66
repository: https://prometheus-community.github.io/helm-charts
7-
version: 55.5.0
8-
digest: sha256:08a68b7f303ff7f589084265f971147bf185e463a1c7dae29a323372f1be0df0
9-
generated: "2023-12-19T10:09:20.222448714+01:00"
7+
version: 55.11.0
8+
digest: sha256:69e1bcfbf4cda25c7d51be3e67533099f8a0922cf5825fd7e256edef444a34cb
9+
generated: "2025-08-04T10:22:19.130269831+02:00"
498 KB
Binary file not shown.
-497 KB
Binary file not shown.
92.6 KB
Binary file not shown.
-106 KB
Binary file not shown.

deploy/helm/trino-lb/configs/trino-lb-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trinoLb:
99
clusterMode: true
1010
endpoint: redis://:[email protected]:6379/
1111
# postgres:
12-
# # helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb
12+
# # helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb,image.repository=bitnamilegacy/postgresql,volumePermissions.image.repository=bitnamilegacy/os-shell,metrics.image.repository=bitnamilegacy/postgres-exporter,global.security.allowInsecureImages=true
1313
# url: postgres://trino-lb:[email protected]/trino_lb
1414
# maxConnections: 10
1515
refreshQueryCounterInterval: 30s # It is low for testing purpose and to get frequent running queries metrics

deploy/helm/trino-lb/templates/trinos.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ spec:
1313
catalogLabelSelector:
1414
matchLabels:
1515
trino: trino
16-
listenerClass: external-stable
1716
authentication:
1817
- authenticationClass: trino-users
1918
coordinators:
19+
roleConfig:
20+
listenerClass: external-stable
2021
configOverrides: &configOverrides
2122
config.properties:
2223
tracing.enabled: "true"
@@ -45,10 +46,11 @@ spec:
4546
catalogLabelSelector:
4647
matchLabels:
4748
trino: trino
48-
listenerClass: external-stable
4949
authentication:
5050
- authenticationClass: trino-users
5151
coordinators:
52+
roleConfig:
53+
listenerClass: external-stable
5254
configOverrides: &configOverrides
5355
config.properties:
5456
tracing.enabled: "true"

deploy/helm/trino-lb/values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ resources:
1414
memory: 256Mi
1515

1616
redis-cluster:
17+
global:
18+
security:
19+
allowInsecureImages: true # needed starting with Chart version 11.2.0 if modifying images
20+
21+
image:
22+
repository: bitnamilegacy/redis-cluster
1723
password: redis
1824
persistence:
1925
size: 4Gi
@@ -41,6 +47,14 @@ redis-cluster:
4147
memory: 128Mi
4248
service:
4349
type: ClusterIP
50+
volumePermissions:
51+
image:
52+
repository: bitnamilegacy/os-shell
53+
metrics:
54+
image:
55+
repository: bitnamilegacy/redis-exporter
56+
sysctlImage:
57+
repository: bitnamilegacy/os-shell
4458

4559
kube-prometheus-stack:
4660
prometheus:

docs/persistence/postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ trinoLb:
1717
1818
The above configuration works with a Postgres installed with the following command:
1919
20-
`helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb`
20+
`helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb,image.repository=bitnamilegacy/postgresql,volumePermissions.image.repository=bitnamilegacy/os-shell,metrics.image.repository=bitnamilegacy/postgres-exporter,global.security.allowInsecureImages=true`

example-configs/ha-redis-autoscaling-stackable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trinoLb:
99
clusterMode: true
1010
endpoint: redis://:[email protected]:6379/
1111
# postgres:
12-
# # helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb
12+
# # helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb,image.repository=bitnamilegacy/postgresql,volumePermissions.image.repository=bitnamilegacy/os-shell,metrics.image.repository=bitnamilegacy/postgres-exporter,global.security.allowInsecureImages=true
1313
# url: postgres://trino-lb:[email protected]/trino_lb
1414
# maxConnections: 10
1515
refreshQueryCounterInterval: 30s # It is low for testing purpose and to get frequent running queries metrics

0 commit comments

Comments
 (0)