mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
19 lines
450 B
Go
19 lines
450 B
Go
|
package oci
|
||
|
|
||
|
var websiteUrl = `https://kyverno.io/docs/kyverno-cli/#oci`
|
||
|
|
||
|
var description = []string{
|
||
|
`Pulls/pushes images that include policie(s) from/to OCI registries.`,
|
||
|
}
|
||
|
|
||
|
var examples = [][]string{
|
||
|
{
|
||
|
`# Push policy to an OCI image from a given policy file`,
|
||
|
`kyverno oci push -p policy.yaml -i <imgref>`,
|
||
|
},
|
||
|
{
|
||
|
`# Pull policy from an OCI image and save it to the specific directory`,
|
||
|
`kyverno oci pull -i <imgref> -d policies`,
|
||
|
},
|
||
|
}
|