From c23abdb394330ca0c95e762643d9dfa2490f5de6 Mon Sep 17 00:00:00 2001 From: Pete Lumbis Date: Fri, 3 Nov 2023 11:14:15 -0400 Subject: [PATCH] update cli commands to new syntax Signed-off-by: Pete Lumbis --- content/master/concepts/packages.md | 10 ++++++---- content/v1.14/concepts/packages.md | 9 +++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/content/master/concepts/packages.md b/content/master/concepts/packages.md index faee9d39f..a5387a834 100644 --- a/content/master/concepts/packages.md +++ b/content/master/concepts/packages.md @@ -2,6 +2,7 @@ title: Configuration Packages description: "Packages combine multiple Crossplane resources into a single, portable, OCI image." altTitle: "Crossplane Packages" +weight: 200 --- A _Configuration_ package is an @@ -430,8 +431,9 @@ spec: ### Build the package -Create the package using the Crossplane CLI command -`crossplane build configuration -f `. +Create the package using the +[Crossplane CLI]({{}}) command +`crossplane xpkg build -f `. Where the `` is the directory containing the `crossplane.yaml` file and any Composition or CompositeResourceDefinition YAML files. @@ -442,7 +444,7 @@ include in the package. {{}} You must ignore any other YAML files with `--ignore=`. For -example, `crossplane build configuration -f test-directory --ignore=".tmp/*"`. +example, `crossplane xpkg build -f test-directory --ignore=".tmp/*"`. Including YAML files that aren't Compositions or CompositeResourceDefinitions, including Claims isn't supported. @@ -470,7 +472,7 @@ For example, to build a package from a directory named `test-directory` and generate a package named `test-package.xpkg` use the command: ```shell -crossplane build configuration -f test-directory --name=test-package +crossplane xpkg build -f test-directory --name=test-package ``` Crossplane automatically adds the `.xpkg` extension. diff --git a/content/v1.14/concepts/packages.md b/content/v1.14/concepts/packages.md index afee1110c..a5387a834 100644 --- a/content/v1.14/concepts/packages.md +++ b/content/v1.14/concepts/packages.md @@ -431,8 +431,9 @@ spec: ### Build the package -Create the package using the Crossplane CLI command -`crossplane build configuration -f `. +Create the package using the +[Crossplane CLI]({{}}) command +`crossplane xpkg build -f `. Where the `` is the directory containing the `crossplane.yaml` file and any Composition or CompositeResourceDefinition YAML files. @@ -443,7 +444,7 @@ include in the package. {{}} You must ignore any other YAML files with `--ignore=`. For -example, `crossplane build configuration -f test-directory --ignore=".tmp/*"`. +example, `crossplane xpkg build -f test-directory --ignore=".tmp/*"`. Including YAML files that aren't Compositions or CompositeResourceDefinitions, including Claims isn't supported. @@ -471,7 +472,7 @@ For example, to build a package from a directory named `test-directory` and generate a package named `test-package.xpkg` use the command: ```shell -crossplane build configuration -f test-directory --name=test-package +crossplane xpkg build -f test-directory --name=test-package ``` Crossplane automatically adds the `.xpkg` extension.