Commit Graph

12 Commits

Author SHA1 Message Date
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
MisterMX be7876b2b1
feat(transforms): Add docs for string join transform (#662)
Signed-off-by: Maximilian Blatt <maximilian.blatt-extern@deutschebahn.com>
2024-01-25 08:00:56 -05:00
Lucas Caparelli 52d3b2d84e
docs(transforms): note that map fails on missing keys (#653) 2023-12-14 12:29:41 +02:00
Shubham Girdhar bf04b0b3b1
doc: fix inconsistency with toFieldPath and the applied value (#652) 2023-12-06 14:35:02 -05:00
Pete Lumbis 7ec21a91eb
Update guidlines on envConfigs and patching to XRs (#549) 2023-09-18 17:09:56 -04:00
Hasan Turken 3b58e158b3
Add support for convert from json to object/list
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2023-08-29 11:41:08 +03:00
Hasan Turken fd41266a1e
Add support for FromJson convert transform (#539) 2023-08-28 13:47:37 -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
Steven Borrelli 55b5c1ceb5
add doc for adler32 transform (#524) 2023-08-08 17:37:58 -04:00
Kenan Alptekin f8107a71a8 fix links in table for patch types
Signed-off-by: Kenan Alptekin <kenan@alptekin.me>
2023-08-07 22:07:20 -04:00
Pete Lumbis b67ce1612c
Update for vale checks
Signed-off-by: Pete Lumbis <pete@upbound.io>
2023-07-26 21:19:50 -04:00
Pete Lumbis 2583a00224
Update Composition Docs (#475) 2023-07-26 14:26:23 -04:00