Skip to content

manifest that opactl generates inside the bundle misses some roots from the bundle #279

Description

@gusega

Hello,

I build my bundle with ocp and create a local archive. When I extract the archive I checked the manifest and it does not contain many of the roots that I have in my policies. If I try to start opa with that bundle, it tells me:

error: load error: bundle /bundles/mybundle.tar.gz: manifest roots [ roots ... ] ] do not permit 'package some.package in module '/dir/jpolicies/my_policy.rego'

If I run opa with --ignore=.*, then opa can start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions