Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions getting-started/keycloak/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

/polaris/create-catalog.sh realm-internal &&
/polaris/create-catalog.sh realm-external $$token &&
/polaris/create-catalog.sh realm-mixed $$token

keycloak:
image: quay.io/keycloak/keycloak:26.3.2
Expand Down