Skip to content

Commit 055d9a8

Browse files
committed
Drop references to native P&T
It's gone in v2 Signed-off-by: Nic Cope <[email protected]>
1 parent 2a9bc76 commit 055d9a8

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

content/v2.0-preview/composition/compositions.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -92,27 +92,6 @@ You can also [write your own function](#write-a-composition-function) using Go
9292
or Python.
9393
{{< /hint >}}
9494

95-
{{<hint "important" >}}
96-
Crossplane has two modes of composition:
97-
98-
* `mode: Pipeline`
99-
* `mode: Resources`
100-
101-
Use the `Pipeline` mode to use composition functions.
102-
103-
<!-- vale write-good.Passive = NO -->
104-
The `Resources` mode is deprecated, and you shouldn't use it. Crossplane
105-
supports Compositions that use the `Resources` mode for backward compatibility,
106-
but the feature is no longer maintained. Crossplane doesn't accept new
107-
`Resources` features, and only accepts security bug fixes.
108-
<!-- vale write-good.Passive = YES -->
109-
110-
See the [CLI documentation]({{<ref "../cli/command-reference#beta-convert">}})
111-
to learn how to use the `crossplane beta convert` command to convert a legacy
112-
`Resources` Composition to the `Pipeline` mode.
113-
{{< /hint >}}
114-
115-
11695
### Install a composition function
11796

11897
Installing a Function creates a function pod. Crossplane sends requests to this
@@ -137,7 +116,7 @@ spec:
137116

138117
{{< hint "tip" >}}
139118
Functions are Crossplane Packages. Read more about Packages in the
140-
[Packages documentation]({{<ref "../packages/configurations" >}}).
119+
[Packages documentation]({{<ref "../packages/functions" >}}).
141120
{{< /hint >}}
142121

143122
By default, the Function pod installs in the same namespace as Crossplane
@@ -184,14 +163,6 @@ Each {{<hover label="single" line="8">}}step{{</hover>}} uses a
184163
{{<hover label="single" line="9">}}functionRef{{</hover>}} to reference the
185164
{{<hover label="single" line="10">}}name{{</hover>}} of the Function to call.
186165

187-
{{<hint "important" >}}
188-
Compositions using {{<hover label="single" line="6">}}mode: Pipeline{{</hover>}}
189-
can't specify resource templates with a `resources` field.
190-
191-
Use function "Patch and Transform" to create resource templates.
192-
{{< /hint >}}
193-
194-
195166
Some Functions also allow you to specify an
196167
{{<hover label="single" line="11">}}input{{</hover>}}.
197168
The function defines the
@@ -363,11 +334,6 @@ You can preview the output of any composition using the Crossplane CLI. You
363334
don't need a Crossplane control plane to do this. The Crossplane CLI uses Docker
364335
Engine to run functions.
365336

366-
{{<hint "important">}}
367-
The `crossplane render` command only supports composition functions. It doesn't
368-
support `mode: Resources` Compositions.
369-
{{< /hint >}}
370-
371337
{{<hint "tip">}}
372338
See the [Crossplane CLI docs]({{<ref "../cli">}}) to
373339
learn how to install and use the Crossplane CLI.

0 commit comments

Comments
 (0)