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

Provide AutoScalingGroupName for webhook notifications #384

Merged
merged 1 commit into from
Mar 9, 2021

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