From e7924b48b19662ea3f1edea4c194a8dd62b22943 Mon Sep 17 00:00:00 2001 From: DH Kim Date: Fri, 13 Sep 2024 05:17:50 +0900 Subject: [PATCH 1/2] feat: inject-shell plugin --- plugins/inject-shell.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 plugins/inject-shell.yaml diff --git a/plugins/inject-shell.yaml b/plugins/inject-shell.yaml new file mode 100644 index 00000000000..55d3c356e7b --- /dev/null +++ b/plugins/inject-shell.yaml @@ -0,0 +1,27 @@ +apiVersion: krew.googlecontainertools.github.com/v1alpha2 +kind: Plugin +metadata: + name: inject-shell +spec: + version: "v0.0.5" + homepage: https://github.com/inerplat/kubectl-inject-shell + shortDescription: "Injects a BusyBox environment into running Kubernetes containers for debugging." + description: | + kubectl-inject-shell injects a BusyBox environment into a running Kubernetes container, + enabling debugging and filesystem access, even in shell-less environments like distroless images. + platforms: + - selector: + matchExpressions: + - key: "os" + operator: "In" + values: + - darwin + - linux + uri: https://github.com/inerplat/kubectl-inject-shell/releases/download/v0.0.5/kubectl-inject-shell.tar.gz + sha256: 9961bf83ab060b96b5b1af1b1cf801b36d3c4bb2d206c0163d472c4f07ccd92c + files: + - from: "kubectl-inject-shell" + to: "inject-shell.bash" + - from: "LICENSE" + to: "." + bin: inject-shell.bash From 7b80fd967a9d7d0c769aae550bbea35cead7a0c3 Mon Sep 17 00:00:00 2001 From: DH Kim Date: Wed, 18 Sep 2024 12:26:48 +0900 Subject: [PATCH 2/2] update to latest version --- plugins/inject-shell.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/inject-shell.yaml b/plugins/inject-shell.yaml index 55d3c356e7b..336dac8d42e 100644 --- a/plugins/inject-shell.yaml +++ b/plugins/inject-shell.yaml @@ -3,7 +3,7 @@ kind: Plugin metadata: name: inject-shell spec: - version: "v0.0.5" + version: "v0.0.6" homepage: https://github.com/inerplat/kubectl-inject-shell shortDescription: "Injects a BusyBox environment into running Kubernetes containers for debugging." description: | @@ -17,8 +17,8 @@ spec: values: - darwin - linux - uri: https://github.com/inerplat/kubectl-inject-shell/releases/download/v0.0.5/kubectl-inject-shell.tar.gz - sha256: 9961bf83ab060b96b5b1af1b1cf801b36d3c4bb2d206c0163d472c4f07ccd92c + uri: https://github.com/inerplat/kubectl-inject-shell/releases/download/v0.0.6/kubectl-inject-shell.tar.gz + sha256: 9ccfbfd63cd2ffe10b8c71f4e199aea5fa95797d64813b9d9bf13c363530093b files: - from: "kubectl-inject-shell" to: "inject-shell.bash"