-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract OPA executable from opa docker image #316
Conversation
this allows for various opa versions to be included in the opal-client image (e.g. latest-istio, latest-istio-static, etc.). The tag of the openpolicyagent/opa docker image can be specified through the `opa_tag` docker build argument.
✅ Deploy Preview for opal-docs canceled.
|
This looks like very cool. Cc: @asafc , @orishavit |
Thanks. Btw the python3.7 |
Hi @tibotix, thanks for the PR! I don't think we would like to create multiple variants of the opal-client docker image, but having the OPA binary type as a parameter to the Dockerfile, so that users could build their own, would be very helpful. Thanks! |
All right, fair enough. I reverted the corresponding commits. |
Thanks! |
This allows for various OPA versions to be included in the opal-client image (e.g. latest-istio, latest-istio-static, etc.). The tag of the openpolicyagent/opa docker image can be specified through the `opa_tag` docker build argument.
It is now possible to include various opa executable versions in the opal-client image (e.g. latest-istio, latest-istio-static, etc.). The tag of the
openpolicyagent/opa
docker image can be specified through theopa_tag
docker build argument.In the past only the main
opa_linux_amd64_static
executable was downloaded, which does for example not work with theenvoy_ext_authz_grpc
plugin. Theopa:latest-istio
tag on the other hand does work with theenvoy_ext_authz_grpc
plugin.As the opa executable is different in respectively different docker tags, it would be cool to support these different versions as the inline opa process as well.
The current tags that are downloaded from
openpolicyagent/opa
are:These can also be configured in the
docker_build_and_publish
workflow.For each tag a separate opal-client image with the respective tag will be published as well.