Skip to content

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

Merged
stefanprodan merged 1 commit intofluxcd:mainfrom
bigkevmcd:hook-versions
Sep 19, 2023
Merged

Add Checksum field to the Webhook payload to distinguish canary runs #1521
stefanprodan merged 1 commit intofluxcd:mainfrom
bigkevmcd:hook-versions

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 🏅

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