mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
22 lines
517 B
Go
22 lines
517 B
Go
|
package manifest
|
||
|
|
||
|
func PrintValidate() {
|
||
|
print(`
|
||
|
name: <test_name>
|
||
|
policies:
|
||
|
- <path/to/policy1.yaml>
|
||
|
- <path/to/policy2.yaml>
|
||
|
resources:
|
||
|
- <path/to/resource1.yaml>
|
||
|
- <path/to/resource2.yaml>
|
||
|
variables: <variable_file> (OPTIONAL)
|
||
|
results:
|
||
|
- policy: <name> (For Namespaced [Policy] files, format is <policy_namespace>/<policy_name>)
|
||
|
rule: <name>
|
||
|
resource: <name>
|
||
|
namespace: <name> (OPTIONAL)
|
||
|
kind: <name>
|
||
|
patchedResource: <path/to/patched/resource.yaml>
|
||
|
result: <pass|fail|skip>`)
|
||
|
}
|