Skip to content

Conversation

@pckvcode
Copy link
Contributor

Relates to PR #999

Resolves: #979

…at include drive letters (e.g., `C:/path/to/data.yaml`).

    Even when using a file URL (e.g., `file:///C:/path/to/data.yaml`), we still face issues.
    With these code changes, Conftest can now successfully load files using a file URL (e.g., `file:///C:/path/to/data.yaml`).
    We opted for file URLs instead of paths with drive letters (e.g., `C:/path/to/data.yaml`) because OPA does not support file paths with drive letters. For more details, see [this issue comment](open-policy-agent/opa#6922 (comment)).
Resolves: open-policy-agent#979

Signed-off-by: Punith C K <[email protected]>
@pckvcode pckvcode closed this Feb 11, 2025
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.

Bug: Accessing Rego Policies from Different Drives in Windows

1 participant