mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +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
450 B
Go
18 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`,
|
|
},
|
|
}
|