File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
config/helm/aws-node-termination-handler Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Parameter | Description | Default
61
61
` webhookURLSecretName ` | Pass Webhook URL as a secret. Secret Key: ` webhookurl ` , Value: ` <WEBHOOK_URL> ` | None
62
62
` webhookProxy ` | Uses the specified HTTP(S) proxy for sending webhooks | ``
63
63
` webhookHeaders ` | Replaces the default webhook headers. | ` {"Content-type":"application/json"} `
64
- ` webhookTemplate ` | Replaces the default webhook message template. | ` {"text":"[NTH][Instance Interruption] EventID: {{ .EventID }} - Kind: {{ .Kind }} - Description : {{ .Description }} - State : {{ .State }} - Start Time: {{ .StartTime }}"} `
64
+ ` webhookTemplate ` | Replaces the default webhook message template. | ` {"text":"[NTH][Instance Interruption] EventID: {{ .EventID }} - Kind: {{ .Kind }} - Instance : {{ .InstanceID }} - Description : {{ .Description }} - Start Time: {{ .StartTime }}"} `
65
65
` webhookTemplateConfigMapName ` | Pass Webhook template file as configmap | None
66
66
` webhookTemplateConfigMapKey ` | Name of the template file stored in the configmap| None
67
67
` enableScheduledEventDraining ` | [ EXPERIMENTAL] If true, drain nodes before the maintenance window starts for an EC2 instance scheduled event | ` false `
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const (
47
47
webhookHeadersDefault = `{"Content-type":"application/json"}`
48
48
webhookTemplateConfigKey = "WEBHOOK_TEMPLATE"
49
49
webhookTemplateFileConfigKey = "WEBHOOK_TEMPLATE_FILE"
50
- webhookTemplateDefault = `{"text":"[NTH][Instance Interruption] EventID: {{ .EventID }} - Kind: {{ .Kind }} - Description: {{ .Description }} - Start Time: {{ .StartTime }}"}`
50
+ webhookTemplateDefault = `{"text":"[NTH][Instance Interruption] EventID: {{ .EventID }} - Kind: {{ .Kind }} - Instance: {{ .InstanceID }} - Description: {{ .Description }} - Start Time: {{ .StartTime }}"}`
51
51
enableScheduledEventDrainingConfigKey = "ENABLE_SCHEDULED_EVENT_DRAINING"
52
52
enableScheduledEventDrainingDefault = false
53
53
enableSpotInterruptionDrainingConfigKey = "ENABLE_SPOT_INTERRUPTION_DRAINING"
You can’t perform that action at this time.
0 commit comments