conftest-kubernetes
Description
Complete YAML Schema
providers:
- # The name of the provider plugin to use.
name:
# List other providers that should be resolved before this one.
dependencies: []
# If specified, this provider will only be used in the listed environments. Note that an empty array effectively
# disables the provider. To use a provider in all environments, omit this field.
environments:
# Path to the default policy directory or rego file to use for `conftest` modules.
policyPath: ./policy
# Default policy namespace to use for `conftest` modules.
namespace:
# Set this to `"warn"` if you'd like tests to be marked as failed if one or more _warn_ rules are matched.
# Set to `"none"` to always mark the tests as successful.
testFailureThreshold: errorConfiguration Keys
providers[]
providers[]Type
Default
Required
providers[].name
providers[].nameType
Required
providers[].dependencies[]
providers[].dependencies[]Type
Default
Required
providers[].environments[]
providers[].environments[]Type
Required
providers[].policyPath
providers[].policyPathType
Default
Required
providers[].namespace
providers[].namespaceType
Required
providers[].testFailureThreshold
providers[].testFailureThresholdType
Default
Required
Last updated
Was this helpful?

