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

functions/proto: clarify that desired state must be SSA compatible #4687

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

sttts
Copy link
Contributor

@sttts sttts commented Sep 26, 2023

Description of your changes

Clarify semantics of the desired state in function requests and responses, namely that it must be a partial object with exactly those fields (only those and a complete set) that the function pipeline is interested in.

I have:

  • Read and followed Crossplane's contribution process.
  • Added or updated unit and E2E tests for my change.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, if necessary.
  • Opened a PR updating the docs, if necessary.

@sttts sttts requested review from turkenh and a team as code owners September 26, 2023 13:15
@sttts sttts requested a review from lsviben September 26, 2023 13:15
Copy link
Member

@negz negz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment on lines 49 to 50
// likely not what you want to do. Leaving out fields that had been returned
// as desired before are going to be deleted from the objects in the cluster.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obviously here too 😅

Suggested change
// likely not what you want to do. Leaving out fields that had been returned
// as desired before are going to be deleted from the objects in the cluster.
// likely not what you want to do. Leaving out fields that had been returned
// as desired before will result in them being deleted from the objects in the
// cluster.

Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@upbound.io>
@sttts sttts force-pushed the sttts-function-clarification branch from 1fd1d93 to 2fbf157 Compare September 26, 2023 16:11
@phisco phisco merged commit ce486af into crossplane:master Sep 26, 2023
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants