File tree 1 file changed +0
-27
lines changed
charts/gateway/templates/tests
1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -9,33 +9,6 @@ metadata:
9
9
annotations :
10
10
" helm.sh/hook " : test
11
11
spec :
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
39
12
containers :
40
13
- name : curl
41
14
image : alpine
You can’t perform that action at this time.
0 commit comments