Skip to content
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

Figure out a Rego V1 migration plan #5262

Open
evankanderson opened this issue Jan 7, 2025 · 1 comment
Open

Figure out a Rego V1 migration plan #5262

evankanderson opened this issue Jan 7, 2025 · 1 comment

Comments

@evankanderson
Copy link
Member

Open Policy Agent has released a v1.0.0. This includes making a number of features which were previously available under the import rego.v1 or other feature flags. (Yay!) The rego.v1 flag also removes or deprecates a number of syntax items to clean up the overall ecosystem.

Unfortunately, a number of the existing rules in https://github.com/mindersec/minder-rules-and-profiles are written using the "rego.v0" syntax, and fail to compile under the v1 rules. We need to figure out a plan for migrating existing usage from v0 to v1, probably with cooperation from users (in terms of adding a new field for rego syntax version or "regov1" evaluator), along with controls on which versions of Rego are accepted by existing projects.

☝️ The above is not a plan, we need to actually document a plan, including migration instructions.

@evankanderson
Copy link
Member Author

Related: #5251 (the upgrade to OPA v1.0.0)

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

No branches or pull requests

1 participant