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

Rewrite policies with import rego.v1 #88

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Rewrite policies with import rego.v1 #88

merged 1 commit into from
Feb 23, 2024

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Feb 23, 2024

Fixes #81

Rewrite policies in the repository with import rego.v1 for future OPA v1 release. Much of this rewriting was done with opa fmt --rego-v1 -w.

I intentionally added an integration test for the legacy syntax to detect when future OPA versions will no longer support the legacy syntax. I expect that this test will simply be removed when it is no longer supported.

@wata727 wata727 merged commit 971b3eb into main Feb 23, 2024
7 checks passed
@wata727 wata727 deleted the rego_v1 branch February 23, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Revise example policies with import rego.v1
1 participant