From c924e9ff2878333dfd35e6305ff77843d48384b2 Mon Sep 17 00:00:00 2001 From: Jake Cohen Date: Mon, 15 May 2023 16:33:12 +0000 Subject: [PATCH] Correcting PD notifications --- .../TCP Dump using Ephemeral Container.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Kubernetes/TCP Dump using Ephemeral Container.yaml b/Kubernetes/TCP Dump using Ephemeral Container.yaml index 0fae157..fd0d8d9 100644 --- a/Kubernetes/TCP Dump using Ephemeral Container.yaml +++ b/Kubernetes/TCP Dump using Ephemeral Container.yaml @@ -16,15 +16,6 @@ plugin: configuration: incident_id: ${option.pd_incident_id} - note: 'Automated diagnostics job did not complete. For full details, click - here: ${job.url}#output' - type: pd-note-incident-notification - notifyAvgDurationThreshold: null - notification: - onfailure: - plugin: - configuration: - incident_id: ${option.incident-id} note: |- Unable to complete automation for capturing TCP dump. Full automation output can be viewed here: ${job.url}#output @@ -32,7 +23,7 @@ onsuccess: plugin: configuration: - incident_id: ${option.incident-id} + incident_id: ${option.pd_incident_id} note: 'TCP dump has been captured from running container and can be viewed here: ${job.url}#output' type: pd-note-incident-notification @@ -51,6 +42,10 @@ label: Target Container name: target-container required: true + - description: Optionally provide a PagerDuty Incident ID to provide a link to these + diagnostics to incident responders. + label: Incident ID + name: pd_incident_id plugins: ExecutionLifecycle: {} runnerSelector: