mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
* chore: improve cli commands docs Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * docs Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix test Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * experimental Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * version Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * unit tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * oci Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * oci Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * jp Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * apply Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * create 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
472 B
Go
18 lines
472 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 -p policy.yaml -i <imgref>`,
|
|
},
|
|
{
|
|
`# Push multiple policies to an OCI image from a given directory that includes policies`,
|
|
`kyverno oci push -p policies. -i <imgref>`,
|
|
},
|
|
}
|