Skip to content

Commit d2e9acf

Browse files
maver1ckmumoshu
authored andcommitted
Turn off debug for helm home (#62)
When installing plugin in debug mode helm home is also running in debug mode and returning wrong values. This patch adds --debug=false flag to helm home
1 parent 747ae3d commit d2e9acf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

install-binary.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
PROJECT_NAME="helm-diff"
66
PROJECT_GH="databus23/$PROJECT_NAME"
77

8-
: ${HELM_PLUGIN_PATH:="$(helm home)/plugins/helm-diff"}
8+
: ${HELM_PLUGIN_PATH:="$(helm home --debug=false)/plugins/helm-diff"}
99

1010
# Convert the HELM_PLUGIN_PATH to unix if cygpath is
1111
# available. This is the case when using MSYS2 or Cygwin

plugin.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ useTunnel: true
88
command: "$HELM_PLUGIN_DIR/bin/diff"
99
hooks:
1010
install: "$HELM_PLUGIN_DIR/install-binary.sh"
11+
update: "$HELM_PLUGIN_DIR/install-binary.sh"

0 commit comments

Comments
 (0)