This PR implement some small fixes to #12 as well as the missing OPA policy setup.
Routing. FDP Virtual Service was overriding existing HTTP one.
Deployment config. Polimi's service is actually running on port 8080 instead of documented 80 and its using different env vars under the bonnet. Also there were some typos in the K8s Job command to create a MinIO bucket and upload the JSON content.
Security policy. Implemented Rego policy similar to existing HttpBin one and fixed nasty bug that was stopping the policy from being evaluated correctly---b/c of a missing allow partial rule definition for the policy in main.
MinIO client. Added to the dev shell. It should've been there!
This PR implement some small fixes to #12 as well as the missing OPA policy setup.
8080
instead of documented80
and its using different env vars under the bonnet. Also there were some typos in the K8s Job command to create a MinIO bucket and upload the JSON content.allow
partial rule definition for the policy inmain
.