Commit Graph

8 Commits

Author SHA1 Message Date
Pete Lumbis 15ef84b9bc
Corrects usage of Trim Prefix/Suffix. (#748)
* Corrects usage of Trim Prefix/Suffix. Resolves #747

Signed-off-by: Pete Lumbis <pete@upbound.io>

* Corrects usage of Trim Prefix/Suffix. Resolves #747

Signed-off-by: Pete Lumbis <pete@upbound.io>

* Fix TrimSuffix link

Signed-off-by: Pete Lumbis <pete@upbound.io>

* correct link formatting

Signed-off-by: Pete Lumbis <pete@upbound.io>

---------

Signed-off-by: Pete Lumbis <pete@upbound.io>
2024-04-11 13:55:06 -04:00
Pete Lumbis c9b8afbe2f
remove incorrect restriction about envkeys in patches (#707) 2024-02-15 23:28:26 +02:00
Guillaume Dupin 884afa3346
Remove false restriction about using '.status.atProvider' into ToEnvironmentFieldPath (#697)
* Remove erroneous restrictions about using data from '.status' into ToEnvironmentFieldPath

As confirmed @phisco in [Slack](https://crossplane.slack.com/archives/CEG3T90A1/p1706970216073849?thread_ts=1706970216.073849&cid=CEG3T90A1), the 'patch and transform' documentation is wrong about the impossibility to use data from `.status.atProvider` in the `fromFielPath` of the `ToEnvironmentFieldPath` patch.

This restriction is incompatible with the example in the `EnvironmentConfig` page that shows it is :
 ```
patches:
 - type: ToEnvironmentFieldPath
   fromFieldPath: status.atProvider.id
   toFieldPath: vpcId
```
https://docs.crossplane.io/latest/concepts/environment-configs/#patch-an-individual-resource

Signed-off-by: Guillaume Dupin <gdupin@gmail.com>

* backport to other releases

Signed-off-by: Guillaume Dupin <gdupin@gmail.com>

---------

Signed-off-by: Guillaume Dupin <gdupin@gmail.com>
2024-02-04 20:04:53 -05:00
Lucas Caparelli 52d3b2d84e
docs(transforms): note that map fails on missing keys (#653) 2023-12-14 12:29:41 +02:00
Pete Lumbis 7ec21a91eb
Update guidlines on envConfigs and patching to XRs (#549) 2023-09-18 17:09:56 -04:00
yongsong you 29e13f3112 Fix incorrect string format example in documentation
Signed-off-by: youyongsong <youyongsong@gmail.com>
2023-08-23 18:17:53 +08:00
kenan e40733ee7f fix links in table for patch types
Signed-off-by: Kenan Alptekin <kenan@alptekin.me>
2023-08-07 19:08:50 -04:00
Pete Lumbis f474acf16b create v1.13 docs set
Signed-off-by: Pete Lumbis <pete@upbound.io>
2023-07-27 11:04:13 -04:00