opa policy is not getting evaluated and opa-istio sidecar is not coming up and its keep shutting down #671
Unanswered
Tushar5525
asked this question in
OPA and Rego
Replies: 1 comment 1 reply
-
Hi there! Try running with “--addr 0.0.0.0:8181” as the localhost binding (default in recent OPA versions) may not be exposed outside of the container |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
{"addrs":["localhost:8181"],"diagnostic-addrs":["0.0.0.0:8282"],"level":"info","msg":"Initializing server.","time":"2025-03-04T22:02:41
Z"}
{"level":"info","msg":"Starting decision logger.","plugin":"decision_logs","time":"2025-03-04T22:02:41Z"}
{"addr":":9191","dry-run":false,"enable-reflection":false,"level":"info","msg":"Starting gRPC server.","path":"istio/authz/allow","quer
y":"","time":"2025-03-04T22:02:41Z"}
{"level":"info","msg":"Shutting down...","time":"2025-03-04T22:03:08Z"}
{"level":"info","msg":"Server shutdown.","time":"2025-03-04T22:03:08Z"}
{"level":"info","msg":"Stopping decision logger.","plugin":"decision_logs","time":"2025-03-04T22:03:08Z"}
Below is my basic configmap
apiVersion: v1
kind: ConfigMap
metadata:
name: opa-policy
namespace: demo-new
data:
policy.rego: |
package istio.authz
NOTE:
Image being used - opa:1.1.0-istio-6-static
https://www.openpolicyagent.org/docs/latest/envoy-tutorial-istio/
Beta Was this translation helpful? Give feedback.
All reactions