mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
21 lines
462 B
Go
21 lines
462 B
Go
|
package manifest
|
||
|
|
||
|
func PrintMutate() {
|
||
|
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>
|
||
|
result: <pass|fail|skip>`)
|
||
|
}
|