Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't patch XR metadata #76

Open
ytsarev opened this issue Mar 14, 2024 · 1 comment
Open

Can't patch XR metadata #76

ytsarev opened this issue Mar 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ytsarev
Copy link

ytsarev commented Mar 14, 2024

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

@ytsarev ytsarev added the bug Something isn't working label Mar 14, 2024
@phisco
Copy link
Collaborator

phisco commented Mar 14, 2024

This is because function can't update the xr outside of the status. See the upstream related issue: crossplane/crossplane#5434.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants