@@ -38,8 +38,8 @@ Server Version: v1.17.0
38
38
## render
39
39
40
40
The ` crossplane render ` command previews the output of a
41
- [ composite resource] ({{<ref "../concepts /composite-resources">}}) after applying
42
- any [ composition functions] ({{<ref "../concepts /compositions">}}).
41
+ [ composite resource] ({{<ref "../composition /composite-resources">}}) after applying
42
+ any [ composition functions] ({{<ref "../composition /compositions">}}).
43
43
44
44
{{< hint "important" >}}
45
45
The ` crossplane render ` command requires you to use composition functions.
@@ -178,7 +178,7 @@ built-in support in [function-go-templating](https://github.com/crossplane-contr
178
178
# # xpkg
179
179
180
180
The `crossplane xpkg` commands create, install and update Crossplane
181
- [packages]({{<ref "../concepts/ packages">}}) as well as enable authentication
181
+ [packages]({{<ref "../packages/configurations ">}}) as well as enable authentication
182
182
and publishing of Crossplane packages to a Crossplane package registry.
183
183
184
184
# ## xpkg build
@@ -193,9 +193,9 @@ The CLI applies the required annotations and values to meet the
193
193
[Crossplane XPKG specification](https://github.com/crossplane/crossplane/blob/main/contributing/specifications/xpkg.md).
194
194
195
195
The `crossplane` CLI supports building
196
- [configuration]({{< ref "../concepts/ packages" >}}),
197
- [function]({{<ref "../concepts /compositions">}}) and
198
- [provider]({{<ref "../concepts /providers" >}}) package types.
196
+ [configuration]({{< ref "../packages/configurations " >}}),
197
+ [function]({{<ref "../composition /compositions">}}) and
198
+ [provider]({{<ref "../packages /providers" >}}) package types.
199
199
200
200
# ### Flags
201
201
@@ -270,9 +270,9 @@ with the command
270
270
The `<name>` input isn't used. Crossplane reserves the `<name>` for future releases.
271
271
272
272
The `<template>` value may be one of four well known templates :
273
- * `configuration-template` - A template to build a Crossplane [Configuration]({{<ref "../concepts/ packages">}}) from the [crossplane/configuration-template](https://github.com/crossplane/configuration-template) repository.
274
- * `function-template-go` - A template to build Crossplane Go [composition functions]({{<ref "../concepts /compositions">}}) from the [crossplane/function-template-go](https://github.com/crossplane/function-template-go) repository.
275
- * `function-template-python` - A template to build Crossplane Python [composition functions]({{<ref "../concepts /compositions">}}) from the [crossplane/function-template-python](https://github.com/crossplane/function-template-go) repository.
273
+ * `configuration-template` - A template to build a Crossplane [Configuration]({{<ref "../packages/configurations ">}}) from the [crossplane/configuration-template](https://github.com/crossplane/configuration-template) repository.
274
+ * `function-template-go` - A template to build Crossplane Go [composition functions]({{<ref "../composition /compositions">}}) from the [crossplane/function-template-go](https://github.com/crossplane/function-template-go) repository.
275
+ * `function-template-python` - A template to build Crossplane Python [composition functions]({{<ref "../composition /compositions">}}) from the [crossplane/function-template-python](https://github.com/crossplane/function-template-go) repository.
276
276
* `provider-template` - A template to build a basic Crossplane provider from the [Crossplane/provider-template](https://github.com/crossplane/provider-template) repository.
277
277
* `provider-template-upjet` - A template for building [Upjet](https://github.com/crossplane/upjet) based Crossplane providers from existing Terraform providers. Copies from the [upbound/upjet-provider-template](https://github.com/upbound/upjet-provider-template) repository.
278
278
@@ -352,7 +352,7 @@ returns an error if the `wait` time expires before the package is `HEALTHY`.
352
352
# ### Require manual package activation
353
353
354
354
Set the package to require
355
- [manual activation]({{<ref "../concepts/ packages#revision-activation-policy" >}}),
355
+ [manual activation]({{<ref "../packages/configurations #revision-activation-policy" >}}),
356
356
preventing an automatic upgrade of a package with `--manual-activation`
357
357
358
358
# ### Authenticate to a private registry
@@ -372,7 +372,7 @@ cache.
372
372
Store more inactive copies of a package with `--revision-history-limit`.
373
373
374
374
Read more about
375
- [package revisions]({{< ref "../concepts/ packages#configuration-revisions" >}})
375
+ [package revisions]({{< ref "../packages/configurations #configuration-revisions" >}})
376
376
in the package documentation.
377
377
378
378
# ## xpkg login
@@ -515,9 +515,9 @@ migration to the new APIs and resources, the `crossplane beta convert` command
515
515
converts a Crossplane resource to a new version or kind.
516
516
517
517
Use the `crossplane beta convert` command to convert a
518
- ControllerConfig to a [DeploymentRuntimeConfig]({{<ref "../concepts /providers#runtime-configuration">}})
518
+ ControllerConfig to a [DeploymentRuntimeConfig]({{<ref "../packages /providers#runtime-configuration">}})
519
519
or a legacy Composition using `mode : Resources` to a
520
- [Composition pipeline function]({{< ref "../concepts /compositions" >}}).
520
+ [Composition pipeline function]({{< ref "../composition /compositions" >}}).
521
521
522
522
Provide the `crossplane beta convert` command the conversion type, the input
523
523
file and optionally, an output file. By default the command writes the output to
@@ -594,19 +594,19 @@ running the `top` command may produce an error, for example,
594
594
# ## beta trace
595
595
596
596
Use the `crossplane beta trace` command to display a visual relationship of
597
- Crossplane objects. The `trace` command supports claims , compositions,
597
+ Crossplane objects. The `trace` command supports XRs , compositions,
598
598
functions, managed resources or packages.
599
599
600
600
The command requires a resource type and a resource name.
601
601
602
602
` crossplane beta trace <resource kind> <resource name>`
603
603
604
- For example to view a resource named `my-claim ` of type `example.crossplane.io` :
605
- ` crossplane beta trace example.crossplane.io my-claim `
604
+ For example to view a resource named `my-xr ` of type `example.crossplane.io` :
605
+ ` crossplane beta trace example.crossplane.io my-xr `
606
606
607
607
The command also accepts Kubernetes CLI style `<kind>/<name>` input.
608
608
For example,
609
- ` crossplane beta trace example.crossplane.io/my-claim `
609
+ ` crossplane beta trace example.crossplane.io/my-xr `
610
610
611
611
By default the `crossplane beta trace` command uses the Kubernetes
612
612
configuration defined in `~/.kube/config`.
@@ -634,46 +634,6 @@ variable `KUBECONFIG`.
634
634
By default `crossplane beta trace` prints directly to the terminal, limiting the
635
635
" Ready" condition and "Status" messages to 64 characters.
636
636
637
- The following an example output a "cluster" claim from the AWS reference
638
- platform, which includes multiple Compositions and composed resources :
639
-
640
- ` ` ` shell {copy-lines="1"}
641
- crossplane beta trace cluster.aws.platformref.upbound.io platform-ref-aws
642
- NAME VERSION INSTALLED HEALTHY STATE STATUS
643
- Configuration/platform-ref-aws v0.9.0 True True - HealthyPackageRevision
644
- ├─ ConfigurationRevision/platform-ref-aws-9ad7b5db2899 v0.9.0 - True Active HealthyPackageRevision
645
- ├─ Configuration/upbound-configuration-aws-network v0.7.0 True True - HealthyPackageRevision
646
- │ ├─ ConfigurationRevision/upbound-configuration-aws-network-97be9100cfe1 v0.7.0 - True Active HealthyPackageRevision
647
- │ ├─ Provider/upbound-provider-aws-ec2 v0.47.0 True True - HealthyPackageRevision
648
- │ │ ├─ ProviderRevision/upbound-provider-aws-ec2-cfeb0cd0f1d2 v0.47.0 - True Active HealthyPackageRevision
649
- │ │ └─ Provider/upbound-provider-family-aws v1.0.0 True True - HealthyPackageRevision
650
- │ │ └─ ProviderRevision/upbound-provider-family-aws-48b3b5ccf964 v1.0.0 - True Active HealthyPackageRevision
651
- │ └─ Function/upbound-function-patch-and-transform v0.2.1 True True - HealthyPackageRevision
652
- │ └─ FunctionRevision/upbound-function-patch-and-transform-a2f88f8d8715 v0.2.1 - True Active HealthyPackageRevision
653
- ├─ Configuration/upbound-configuration-aws-database v0.5.0 True True - HealthyPackageRevision
654
- │ ├─ ConfigurationRevision/upbound-configuration-aws-database-3112f0a765c5 v0.5.0 - True Active HealthyPackageRevision
655
- │ └─ Provider/upbound-provider-aws-rds v0.47.0 True True - HealthyPackageRevision
656
- │ └─ ProviderRevision/upbound-provider-aws-rds-58f96aa9fc4b v0.47.0 - True Active HealthyPackageRevision
657
- ├─ Configuration/upbound-configuration-aws-eks v0.5.0 True True - HealthyPackageRevision
658
- │ ├─ ConfigurationRevision/upbound-configuration-aws-eks-83c9d65f4a47 v0.5.0 - True Active HealthyPackageRevision
659
- │ ├─ Provider/crossplane-contrib-provider-helm v0.16.0 True True - HealthyPackageRevision
660
- │ │ └─ ProviderRevision/crossplane-contrib-provider-helm-b4cc4c2c8db3 v0.16.0 - True Active HealthyPackageRevision
661
- │ ├─ Provider/crossplane-contrib-provider-kubernetes v0.10.0 True True - HealthyPackageRevision
662
- │ │ └─ ProviderRevision/crossplane-contrib-provider-kubernetes-63506a3443e0 v0.10.0 - True Active HealthyPackageRevision
663
- │ ├─ Provider/upbound-provider-aws-eks v0.47.0 True True - HealthyPackageRevision
664
- │ │ └─ ProviderRevision/upbound-provider-aws-eks-641a096d79d8 v0.47.0 - True Active HealthyPackageRevision
665
- │ └─ Provider/upbound-provider-aws-iam v0.47.0 True True - HealthyPackageRevision
666
- │ └─ ProviderRevision/upbound-provider-aws-iam-438eac423037 v0.47.0 - True Active HealthyPackageRevision
667
- ├─ Configuration/upbound-configuration-app v0.2.0 True True - HealthyPackageRevision
668
- │ └─ ConfigurationRevision/upbound-configuration-app-5d95726dba8c v0.2.0 - True Active HealthyPackageRevision
669
- ├─ Configuration/upbound-configuration-observability-oss v0.2.0 True True - HealthyPackageRevision
670
- │ ├─ ConfigurationRevision/upbound-configuration-observability-oss-a51529457ad7 v0.2.0 - True Active HealthyPackageRevision
671
- │ └─ Provider/grafana-provider-grafana v0.8.0 True True - HealthyPackageRevision
672
- │ └─ ProviderRevision/grafana-provider-grafana-ac529c8ce1c6 v0.8.0 - True Active HealthyPackageRevision
673
- └─ Configuration/upbound-configuration-gitops-flux v0.2.0 True True - HealthyPackageRevision
674
- └─ ConfigurationRevision/upbound-configuration-gitops-flux-2e80ec62738d v0.2.0 - True Active HealthyPackageRevision
675
- ` ` `
676
-
677
637
# ### Wide outputs
678
638
Print the entire "Ready" or "Status" message if they're longer than
679
639
64 characters with `--output=wide`.
@@ -683,15 +643,15 @@ For example, the output truncates the "Status" message that's too long.
683
643
` ` ` shell {copy-lines="1"
684
644
crossplane trace cluster.aws.platformref.upbound.io platform-ref-aws
685
645
NAME SYNCED READY STATUS
686
- Cluster/platform-ref-aws (default) True False Waiting: ...resource claim is waiting for composite resource to become Ready
646
+ Cluster/platform-ref-aws (default) True False Unready resources: cluster
687
647
` ` `
688
648
689
649
Use `--output=wide` to see the full message.
690
650
691
651
` ` ` shell {copy-lines="1"
692
652
crossplane trace cluster.aws.platformref.upbound.io platform-ref-aws --output=wide
693
653
NAME SYNCED READY STATUS
694
- Cluster/platform-ref-aws (default) True False Waiting: Composite resource claim is waiting for composite resource to become Ready
654
+ Cluster/platform-ref-aws (default) True False Unready resources: cluster
695
655
` ` `
696
656
697
657
# ### Graphviz dot file output
@@ -869,7 +829,7 @@ Configuration/platform-ref-aws v0.9.0 True
869
829
# ## beta validate
870
830
871
831
The `crossplane beta validate` command validates
872
- [compositions]({{<ref "../concepts /compositions">}}) against provider or XRD
832
+ [compositions]({{<ref "../composition /compositions">}}) against provider or XRD
873
833
schemas using the Kubernetes API server's validation library
874
834
with extra validation such as checking for unknown fields,
875
835
a common source of difficult to debug issues in Crossplane.
0 commit comments