Skip to content

Conversation

@imuqtadir
Copy link
Contributor

Issue #, if available: #357

Description of changes: Provide AutoScalingGroupName for webhook notifications in Queue Processor mode only as we require creds to fetch ASG name. The user can provide override sample webhook template like following:

`{"text":"[NTH][Instance Interruption] EventID: {{ .EventID }} - Kind: {{ .Kind }} - Node: {{ .NodeName }} - AutoScalingGroupName: {{ .AutoScalingGroupName }} - Start Time: {{ .StartTime }}"}`

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@imuqtadir imuqtadir requested a review from bwagner5 March 9, 2021 21:17
@imuqtadir imuqtadir linked an issue Mar 9, 2021 that may be closed by this pull request
Copy link
Contributor

@bwagner5 bwagner5 left a comment

Choose a reason for hiding this comment

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

Nice!! LGTM!

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.

List of available fields for webhookTemplate

2 participants