From 4f6c400ca2241ec700c263e484cfc90cf4de27a6 Mon Sep 17 00:00:00 2001 From: vyshakhp Date: Tue, 17 Jul 2018 15:27:17 +0530 Subject: [PATCH] using bash for the shell script --- plugin/plugin.yaml | 4 ++-- plugin/run.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugin/plugin.yaml b/plugin/plugin.yaml index c53ea8b..07b0336 100644 --- a/plugin/plugin.yaml +++ b/plugin/plugin.yaml @@ -1,8 +1,8 @@ name: "helmez" -version: "0.1.2" +version: "0.1.3" usage: "Integrate helmez tools with Helm" description: |- This plugin provides helmez services to Helm. ignoreFlags: false useTunnel: false -command: "sh -c $HELM_PLUGIN_DIR/run.sh" \ No newline at end of file +command: "/bin/bash $HELM_PLUGIN_DIR/run.sh" \ No newline at end of file diff --git a/plugin/run.sh b/plugin/run.sh index 859aafe..6af747c 100644 --- a/plugin/run.sh +++ b/plugin/run.sh @@ -1,3 +1,4 @@ -#!/bin/sh +#!/bin/bash + chmod +x $HELM_PLUGIN_DIR/helmez.bin $HELM_PLUGIN_DIR/helmez.bin \ No newline at end of file