From f6e5cbd63dc68d6daa8b66d1c6a510db8337c1d7 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Fri, 9 Dec 2022 20:41:29 +0000
Subject: [PATCH] fix(koolbox): Address krew with absolute path

For a reason I haven't fully figured out yet, the kubectl plugin
discovery in kaniko doesn't work like in podman or docker. This is
probably due to how they invoke shells for the container build. Either
way, this adjustment should hopefully fix it.
---
 images/koolbox/.release   | 2 +-
 images/koolbox/Dockerfile | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/images/koolbox/.release b/images/koolbox/.release
index 9ecf65833..802d813b7 100644
--- a/images/koolbox/.release
+++ b/images/koolbox/.release
@@ -1 +1 @@
-release=0.4.0
+release=0.4.1
diff --git a/images/koolbox/Dockerfile b/images/koolbox/Dockerfile
index 52c2928e0..aeca4a7d3 100644
--- a/images/koolbox/Dockerfile
+++ b/images/koolbox/Dockerfile
@@ -190,9 +190,9 @@ RUN true \
     && true
 
 RUN true \
-   && /usr/local/bin/kubectl krew install cyclonus \
-   && /usr/local/bin/kubectl krew install outdated \
-   && /usr/local/bin/kubectl krew install access-matrix \
+   && /usr/local/bin/kubectl-krew install cyclonus \
+   && /usr/local/bin/kubectl-krew install outdated \
+   && /usr/local/bin/kubectl-krew install access-matrix \
    && true
 
 # Create workspace
-- 
GitLab