Skip to content

Double-checking the expected behavior with rego policy & passthrough enabled #1352

Answered by akashsinghal
cmaclaughlin asked this question in Q&A
Discussion options

You must be logged in to vote

@cmaclaughlin yes your observations are inline with expected behavior based on current implementation. The primary purpose of passthroughEnabled property on the rego policy provider is to decide exactly where the rego policy is applied to determine the overall verification of the result. If pass through is enabled, the rego provided to Ratify directly (via the policy CRD) is ignored because it's assumed Gatekeeper will apply more involved rego (constraint template) to parse the verifier reports to determine the overall result on its own. You're right that if you try to use Gatekeeper with pass through enabled, then the GK constraint template can bubble up errors/policy violations more cle…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akashsinghal
Comment options

Answer selected by cmaclaughlin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants