diff --git a/content/master/cli/_index.md b/content/master/cli/_index.md index 3db4237e..7a7dd26e 100644 --- a/content/master/cli/_index.md +++ b/content/master/cli/_index.md @@ -41,7 +41,7 @@ https://releases.crossplane.io/stable/current/bin {{}} -The CLI is named `crank` in the release repository. Download this file. +The release repository names the CLI `crank`. Download this file. The `crossplane` binary is the Kubernetes Crossplane pod image. diff --git a/content/master/cli/command-reference.md b/content/master/cli/command-reference.md index 9bf35e95..8a9258d3 100644 --- a/content/master/cli/command-reference.md +++ b/content/master/cli/command-reference.md @@ -24,7 +24,11 @@ The following flags are available for all commands. {{< /table >}} + + ## version + + The `crossplane version` command returns the version of Crossplane CLI and the control plane. @@ -35,7 +39,9 @@ Client Version: v1.17.0 Server Version: v1.17.0 ``` + ## render + The `crossplane render` command previews the output of a [composite resource]({{}}) after applying @@ -167,7 +173,7 @@ spec: The schema of the resource isn't validated and may contain any data. -### Mock Extra Resources +### Mock extra resources Extra Resources allow a Composition to request Crossplane Objects on the cluster that aren't part of the Composition. The `--extra-resources` option points at a directory containing @@ -175,13 +181,17 @@ YAML manifests of resources to mock. Use Extra Resources in combination with a f [function-extra-resources](https://github.com/crossplane-contrib/function-extra-resources) or the built-in support in [function-go-templating](https://github.com/crossplane-contrib/function-go-templating?tab=readme-ov-file#extraresources). + ## xpkg + The `crossplane xpkg` commands create, install and update Crossplane -[packages]({{}}) as well as enable authentication +[packages]({{}}) and enable authentication and publishing of Crossplane packages to a Crossplane package registry. + ### xpkg build + Using `crossplane xpkg build` provides automation and simplification to build Crossplane packages. @@ -243,7 +253,7 @@ Include YAML files demonstrating how to use the package with `--examples-root`. #### Include a runtime image Functions and Providers require YAML files describing their dependencies and -settings as well as a container image for their runtime. +settings and a container image for their runtime. Using `--embed-runtime-image-name` runs a specified image and includes the image inside the function or provider package. @@ -258,7 +268,9 @@ Use `docker pull` to download a missing image. The `--embed-runtime-image-tarball` flag includes a local OCI image tarball inside the function or provider package. + ### xpkg init + The `crossplane xpkg init` command populates the current directory with files to build a package. @@ -279,14 +291,18 @@ The `