1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/cmd/cli/kubectl-kyverno/commands/oci/push/doc.go
Charles-Edouard Brétéché d24b0848a6
chore: add cli commands unit tests (#8366)
* 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>
2023-09-12 21:47:03 +00:00

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>`,
},
}