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

Add Checksum field to the Webhook payload to distinguish canary runs #1521

Merged
merged 1 commit into from
Sep 19, 2023
Merged

Add Checksum field to the Webhook payload to distinguish canary runs #1521

merged 1 commit into from
Sep 19, 2023

Conversation

bigkevmcd
Copy link
Contributor

This adds a new Checksum field to the canary webhook body, which is a hash of the LastAppliedSpec and TrackedConfigs.

This can be used to identify the rollout of a specific configuration, and differentiate between webhooks being sent for different configuration and deployment versions.

@stefanprodan stefanprodan added the kind/enhancement Improvement request for an existing feature label Sep 19, 2023
This adds a new Checksum field to the canary webhook body, which is a
hash of the LastAppliedSpec and TrackedConfigs.

This can be used to identify the rollout of a specific configuration,
and differentiate between webhooks being sent for different
configuration and deployment versions.

Signed-off-by: Kevin McDermott <[email protected]>
@stefanprodan stefanprodan changed the title Add Canary Webhook checksum. Add Checksum field to the Webhook payload to distinguish canary runs Sep 19, 2023
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @bigkevmcd 🏅

@stefanprodan stefanprodan merged commit 794fea8 into fluxcd:main Sep 19, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvement request for an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants