Skip to content

Fix Rego syntax for policy file in lab 6#5

Open
gnurugs wants to merge 1 commit into
lftraining:mainfrom
gnurugs:fix/lab-6-rego-syntax
Open

Fix Rego syntax for policy file in lab 6#5
gnurugs wants to merge 1 commit into
lftraining:mainfrom
gnurugs:fix/lab-6-rego-syntax

Conversation

@gnurugs

@gnurugs gnurugs commented Aug 7, 2025

Copy link
Copy Markdown

This fixes the issue #4

The Rego policy in lab-6-opa-envoy uses old Rego syntax which is no longer valid in OPA v1 and above. This causes deployment of bundle-server to fail.

This PR adds if keyword in rules that have conditions in bundle/policy.rego as required by OPA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant