adutra commented on code in PR #2349:
URL: https://github.com/apache/polaris/pull/2349#discussion_r2276124521


##########
getting-started/keycloak/docker-compose.yml:
##########
@@ -67,13 +67,16 @@ services:
       - CLIENT_SECRET=s3cr3t
     volumes:
       - ../assets/polaris/:/polaris
-    entrypoint: |
-      /bin/sh -c "apk add --no-cache jq && \
-        chmod +x /polaris/create-catalog.sh && \
-        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) && \
-        /polaris/create-catalog.sh realm-internal && \
-        /polaris/create-catalog.sh realm-external $$token && \
-        /polaris/create-catalog.sh realm-mixed $$token"
+    entrypoint: "/bin/sh"
+    command:
+      - "-c"
+      - >-
+        apk add --no-cache jq && 
+        chmod +x /polaris/create-catalog.sh && 
+        token=$$(curl 
http://keycloak:8080/realms/iceberg/protocol/openid-connect/token --user 
client1:s3cr3t -d 'grant_type=client_credentials' | jq -r .access_token) && 

Review Comment:
   The only real difference is the removal of `-d 'scope=catalog'` – the rest 
is formatting.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to