crossplane-contrib / crossplane-contrib/function-go-templating

Can't patch XR metadata

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
100
Forks
65
Avg merge
2d 6h
Merged PRs (30d)
9

Description

### What happened?

Status propagation works
```
apiVersion: example.crossplane.io/v1beta1
kind: XR
status:
dummy: cool-status
```

But metadata propagation does not.
```
apiVersion: example.crossplane.io/v1beta1
kind: XR
metadata:
annotation:
cool: annotation
```

### How can we reproduce it?

Try to set custom annotation for XR as in the example above. You will notice that annotation is not propagated to the XR

### What environment did it happen in?
Function version: v0.4.1

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.