crossplane-contrib / crossplane-contrib/function-cel-filter

'policy.fromFieldPath: Required': spec.xxx: no such field

Open
#24 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
7
Forks
4
Avg merge
5d 2h
Merged PRs (30d)
1

Description

### What happened?

So, we added the `function-cel-filter `after initially trying to use it embedded in `function-patch-and-transform`. Now, we're facing an issue where using `function-cel-filter` to filter resources causes required patches to fail in `function-patch-and-transform`, resulting in the XR getting `READY: False`.
Does anyone have an idea for a workaround for this behavior?

```
kubectl get xinit
NAME CROSSPLANE SYNCED READY COMPOSITION AGE
space-seed-j29p9-j8fq5 v1.15.2-up.1 True False xinit.spaces.upbound.io 13m
```

```
Warning ComposeResources 4m57s (x14 over 10m) defined/compositeresourcedefinition.apiextensions.crossplane.io Pipeline step "patch-and-transform": not adding new composed resource "external-dns-irsa" to desired state because "CombineFromComposite" patch at index 2 has 'policy.fromFieldPath: Required': spec.parameters.operators.externaldns: no such field
```

### How can we reproduce it?

### What environment did it happen in?
Function version:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.