-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needednew transform
Description
As per this comment: crossplane/crossplane#3025 (comment) i assume that this is the right place to post this request.
I would like to see a simple string replacement implementation, that could be used like this:
- type: CombineFromComposite
combine:
variables:
- fromFieldPath: status.availability
- fromFieldPath: spec.claimRef.namespace
- fromFieldPath: spec.parameters.name
strategy: string
string:
fmt: "%s.%s.%s"
replace:
search: 'public'
replace: 'pub'
toFieldPath: spec.forProvider.topic.name
Originally taken from: crossplane/crossplane#3026 but slightly adjusted.
The code snippet is just a rough example and may not be perfectly matching how inputs for the function should be specified.
ytsarev, negz and davidd-dojo
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needednew transform