@@ -92,27 +92,6 @@ You can also [write your own function](#write-a-composition-function) using Go
92
92
or Python.
93
93
{{< /hint >}}
94
94
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
-
116
95
# ## Install a composition function
117
96
118
97
Installing a Function creates a function pod. Crossplane sends requests to this
@@ -137,7 +116,7 @@ spec:
137
116
138
117
{{< hint "tip" >}}
139
118
Functions are Crossplane Packages. Read more about Packages in the
140
- [Packages documentation]({{<ref "../packages/configurations " >}}).
119
+ [Packages documentation]({{<ref "../packages/functions " >}}).
141
120
{{< /hint >}}
142
121
143
122
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
184
163
{{<hover label="single" line="9">}}functionRef{{</hover>}} to reference the
185
164
{{<hover label="single" line="10">}}name{{</hover>}} of the Function to call.
186
165
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
-
195
166
Some Functions also allow you to specify an
196
167
{{<hover label="single" line="11">}}input{{</hover>}}.
197
168
The function defines the
@@ -363,11 +334,6 @@ You can preview the output of any composition using the Crossplane CLI. You
363
334
don't need a Crossplane control plane to do this. The Crossplane CLI uses Docker
364
335
Engine to run functions.
365
336
366
- {{<hint "important">}}
367
- The `crossplane render` command only supports composition functions. It doesn't
368
- support `mode : Resources` Compositions.
369
- {{< /hint >}}
370
-
371
337
{{<hint "tip">}}
372
338
See the [Crossplane CLI docs]({{<ref "../cli">}}) to
373
339
learn how to install and use the Crossplane CLI.
0 commit comments