Skip to content

OPA example does not work on opa v1 #13

@Quesys-tech

Description

@Quesys-tech

Which example does this problem concern?

opa

Please describe the problem?

OPA v1 cannot parse files (auth.rego, config.rego) since opa v1 enforce if syntax.
https://www.openpolicyagent.org/docs/latest/v0-upgrade/#enforce-use-of-if-and-contains-keywords-in-rule-head-declarations

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions