From b312d021ce31c565e143f8895802d2caaf355888 Mon Sep 17 00:00:00 2001 From: Jake Cohen Date: Tue, 31 Jan 2023 11:09:44 -0800 Subject: [PATCH 1/4] add plugin property --- plugin.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin.yaml b/plugin.yaml index c9c97af..a4c6df5 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -2284,6 +2284,11 @@ providers: title: "Pod Name" description: "Pod Name" required: false + - name: container + type: String + title: "Container Name" + description: "Container name within the pod to execute the command on.\n This is only relevant for pods with multiple containers in them." + required: false - name: namespace type: String title: "Namespace" From 7c48fcc3841353cec8005bb6691d63de46e125a8 Mon Sep 17 00:00:00 2001 From: Jake Cohen Date: Tue, 31 Jan 2023 16:58:14 -0800 Subject: [PATCH 2/4] remove newline character --- plugin.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.yaml b/plugin.yaml index a4c6df5..7ed2b78 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -2287,7 +2287,7 @@ providers: - name: container type: String title: "Container Name" - description: "Container name within the pod to execute the command on.\n This is only relevant for pods with multiple containers in them." + description: "Container name within the pod to execute the command on. This is only relevant for pods with multiple containers in them." required: false - name: namespace type: String From 64147be7c4eedb06437b71174689e5799d173bbb Mon Sep 17 00:00:00 2001 From: Jake Cohen Date: Tue, 31 Jan 2023 17:01:05 -0800 Subject: [PATCH 3/4] add newline character to property description --- plugin.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.yaml b/plugin.yaml index 7ed2b78..a4c6df5 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -2287,7 +2287,7 @@ providers: - name: container type: String title: "Container Name" - description: "Container name within the pod to execute the command on. This is only relevant for pods with multiple containers in them." + description: "Container name within the pod to execute the command on.\n This is only relevant for pods with multiple containers in them." required: false - name: namespace type: String From c98a7531964dd37656d4549cac61b38d2946752f Mon Sep 17 00:00:00 2001 From: Jake Cohen Date: Tue, 31 Jan 2023 17:13:56 -0800 Subject: [PATCH 4/4] update description for when field is blank --- plugin.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.yaml b/plugin.yaml index a4c6df5..55930bc 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -2287,7 +2287,7 @@ providers: - name: container type: String title: "Container Name" - description: "Container name within the pod to execute the command on.\n This is only relevant for pods with multiple containers in them." + description: "(Optional) Container name within the pod to execute the command.\n This is only relevant for pods with multiple containers in them. Leave blank to default to the first container in the Pod definition." required: false - name: namespace type: String