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
-
Connect to the terminal of the
Validation
pod:$ {oc} rsh <validation_pod>
-
Go to the OPA policies directory for your provider:
$ cd /usr/share/opa/policies/io/konveyor/forklift/<provider> (1)
-
Specify
vmware
orovirt
.
-
-
Search for the default policies:
$ grep -R "default" *