File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
charts/gateway/templates/tests Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -9,33 +9,6 @@ metadata:
99 annotations :
1010 " helm.sh/hook " : test
1111spec :
12- initContainers :
13- - name : extract-persistence-sql
14- image : " trinodb/trino-gateway"
15- command :
16- - " /bin/sh"
17- - " -c"
18- - |
19- cd /etc/persistence && \
20- jar -xvf /usr/lib/trino/gateway-ha-jar-with-dependencies.jar \
21- gateway-ha-persistence-postgres.sql
22- volumeMounts :
23- - name : persistence-sql
24- mountPath : /etc/persistence
25- - name : initialize-db
26- image : bitnami/postgresql:17.1.0
27- command :
28- - " /bin/sh"
29- - " -c"
30- - |
31- echo "Initialize gateway schema";
32- PGPASSWORD=pass0000 psql \
33- -h gateway-backend-db-postgresql.postgres-gateway.svc.cluster.local \
34- -U gateway -d gateway \
35- -f /etc/persistence/gateway-ha-persistence-postgres.sql
36- volumeMounts :
37- - name : persistence-sql
38- mountPath : /etc/persistence
3912 containers :
4013 - name : curl
4114 image : alpine
You can’t perform that action at this time.
0 commit comments