|
1 | 1 | ---
|
2 | 2 | title: Environment Configurations
|
3 | 3 | weight: 75
|
4 |
| -state: alpha |
| 4 | +state: beta |
5 | 5 | alphaVersion: "1.11"
|
| 6 | +betaVersion: "1.18" |
6 | 7 | description: "Environment Configurations or EnvironmentConfigs are an in-memory datastore used in Compositions"
|
7 | 8 | ---
|
8 | 9 |
|
@@ -86,7 +87,7 @@ convert pipeline-composition`, which will move a composition using `Resource`
|
86 | 87 | mode, to [function-patch-and-transform] and, if needed,
|
87 | 88 | [function-environment-configs].
|
88 | 89 |
|
89 |
| -See [function-environment-configs]' docs for more details about manual |
| 90 | +See the documentation of [function-environment-configs] for more details about manual |
90 | 91 | migration.
|
91 | 92 |
|
92 | 93 | <!-- vale Google.Headings = NO -->
|
@@ -344,7 +345,7 @@ Set a default value for an optional label by setting the default `value` for
|
344 | 345 | the `key` first using a `Value` selector, then define the `Optional`
|
345 | 346 | `FromCompositeFieldPath` one.
|
346 | 347 |
|
347 |
| -For example, this Composition defines `value: my-default-value` for the key |
| 348 | +For example, the Composition below defines `value: my-default-value` for the key |
348 | 349 | `my-second-label-key`. If the Composite resource defines
|
349 | 350 | `spec.parameters.deploy`, [function-environment-configs] will use that instead.
|
350 | 351 |
|
@@ -381,8 +382,8 @@ spec:
|
381 | 382 | ```
|
382 | 383 |
|
383 | 384 | {{<hint "warning" >}}
|
384 |
| -[function-environment-configs] applies values in order. The value of the last |
385 |
| -key defined always takes precedence. |
| 385 | +[function-environment-configs](https://github.com/crossplane-contrib/function-environment-configs) |
| 386 | +applies values in order. The value of the last key defined always takes precedence. |
386 | 387 |
|
387 | 388 | Defining the default value _after_ the label always overwrites the label
|
388 | 389 | value.
|
@@ -493,4 +494,7 @@ The [Patch and Transform]({{<ref "../guides/function-patch-and-transform">}}) do
|
493 | 494 |
|
494 | 495 | [extra-resources]: {{<ref "./compositions">}}
|
495 | 496 | [function-environment-configs]: https://github.com/crossplane-contrib/function-environment-configs
|
496 |
| -[function-patch-and-transform]: {{<ref "../guides/function-patch-and-transform">}} |
| 497 | +[function-patch-and-transform]: {{<ref "../guides/function-patch-and-transform">}} |
| 498 | +[function-go-templating]: https://github.com/crossplane-contrib/function-go-templating |
| 499 | +[Composition Functions]: {{<ref "./compositions">}} |
| 500 | +[Context]: {{<ref "./compositions/#function-pipeline-context">}} |
0 commit comments