mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-07 00:17:13 +00:00
* chore: add cli unit tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * chore: add cli commands unit tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
18 lines
460 B
Go
18 lines
460 B
Go
package push
|
|
|
|
var websiteUrl = `https://kyverno.io/docs/kyverno-cli/#pushing`
|
|
|
|
var description = []string{
|
|
`Push policie(s) that are included in an OCI image to OCI registry.`,
|
|
}
|
|
|
|
var examples = [][]string{
|
|
{
|
|
`# Push policy to an OCI image from a given policy file`,
|
|
`kyverno oci push ./policy.yaml -i <imgref>`,
|
|
},
|
|
{
|
|
`# Push multiple policies to an OCI image from a given directory that includes policies`,
|
|
`kyverno oci push . -i <imgref>`,
|
|
},
|
|
}
|