-
Probably I'm overlooking an obvious fact but: we are running OPAL for Authz in a Kubernetes cluster. But the latest OPAL client docker image (0.8.0) runs OPA 0.70.0, while we are upgrading to OPA 1.2. We can of course work our way through this by running OPAL client standalone container, and just running the latest OPA client container alongside it. However I'm curious whether there is a reason for OPAL client not using the latest OPA version? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @Geniekort, thank you for reaching out! 🌟 Due to OPA v1 having some breaking changes, we plan to change the default to OPA v1 on OPAL v1 release, to adhere with semver logic. You can build a custom OPAL Client image with OPA v1 by running the command: DOCKER_BUILD_ARGS="--build-arg opa_tag=1.0.0-static" make docker-build-client or manually using Docker CLI docker build -t permitio/opal-client --target client --build-arg opa_tag=1.0.0-static -f docker/Dockerfile . Adjust the command for the right OPA version you desire. Alternatively, as you've mentioned, you can use OPAL Client standalone image and run OPA separately from OPAL. Let me know how it goes! 🙏💎 |
Beta Was this translation helpful? Give feedback.
-
Hi @danyi1212 , thanks for the very fast reply. That totally makes sense, do you have any clue on the schedule for the OPAL v1 release? For now we just went with the standalone OPA, that works like a charm 👍 |
Beta Was this translation helpful? Give feedback.
Hey @Geniekort, thank you for reaching out! 🌟
Correct, OPAL currently comes included with OPA v0.70.0.
Due to OPA v1 having some breaking changes, we plan to change the default to OPA v1 on OPAL v1 release, to adhere with semver logic.
You can build a custom OPAL Client image with OPA v1 by running the command:
DOCKER_BUILD_ARGS="--build-arg opa_tag=1.0.0-static" make docker-build-client
or manually using Docker CLI
docker build -t permitio/opal-client --target client --build-arg opa_tag=1.0.0-static -f docker/Dockerfile .
Adjust the command for the right OPA version you desire.
Alternatively, as you've mentioned, you can use OPAL Client standalone image and run OPA separately from OPAL.
L…