File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,16 @@ services:
67
67
- CLIENT_SECRET=s3cr3t
68
68
volumes :
69
69
- ../assets/polaris/:/polaris
70
- entrypoint : |
71
- /bin/sh -c "apk add --no-cache jq && \
72
- chmod +x /polaris/create-catalog.sh && \
73
- token=$$(curl http://keycloak:8080/realms/iceberg/protocol/openid-connect/token --user client1:s3cr3t -d 'grant_type=client_credentials' -d 'scope=catalog' | jq -r .access_token) && \
74
- /polaris/create-catalog.sh realm-internal && \
75
- /polaris/create-catalog.sh realm-external $$token && \
76
- /polaris/create-catalog.sh realm-mixed $$token"
70
+ entrypoint : " /bin/sh"
71
+ command :
72
+ - " -c"
73
+ - >-
74
+ apk add --no-cache jq &&
75
+ chmod +x /polaris/create-catalog.sh &&
76
+ token=$$(curl http://keycloak:8080/realms/iceberg/protocol/openid-connect/token --user client1:s3cr3t -d 'grant_type=client_credentials' | jq -r .access_token) &&
77
+ /polaris/create-catalog.sh realm-internal &&
78
+ /polaris/create-catalog.sh realm-external $$token &&
79
+ /polaris/create-catalog.sh realm-mixed $$token
77
80
78
81
keycloak :
79
82
image : quay.io/keycloak/keycloak:26.3.2
You can’t perform that action at this time.
0 commit comments