Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.01 KB

accessing-default-validation-rules.adoc

File metadata and controls

35 lines (28 loc) · 1.01 KB

Checking the default validation rules

Before you create a custom rule, you must check the default rules of the Validation service to ensure that you do not create a rule that redefines an existing default value.

Example: If a default rule contains the line default valid_input = false and you create a custom rule that contains the line default valid_input = true, the Validation service will not start.

Procedure
  1. Connect to the terminal of the Validation pod:

    $ {oc} rsh <validation_pod>
  2. Go to the OPA policies directory for your provider:

    $ cd /usr/share/opa/policies/io/konveyor/forklift/<provider> (1)
    1. Specify vmware or ovirt.

  3. Search for the default policies:

    $ grep -R "default" *