Skip to content

Commit

Permalink
helmez plugin initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vyshakhp committed Jul 17, 2018
0 parents commit d6993f6
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin/
14 changes: 14 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

BINVERSION="0.1.0"
archs=( "linux.amd64" "linux.386" "darwin.amd64" "darwin.386" )

rm -rf bin
mkdir bin
for i in "${archs[@]}"
do
rm helmez/helmez-bin
binurl="https://github.com/ysaakpr/helmez-bin/releases/download/${BINVERSION}/helmez-bin.${i}"
curl -o helmez/helmez-bin ${binurl}
tar -zcvf bin/helmez-${i}.tar.gz helmez/
done
8 changes: 8 additions & 0 deletions helmez/plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: "helmez"
version: "0.1.0"
usage: "Integrate helmez tools with Helm"
description: |-
This plugin provides helmez services to Helm.
ignoreFlags: false
useTunnel: false
command: "$HELM_PLUGIN_DIR/run.sh"
3 changes: 3 additions & 0 deletions helmez/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

$HELM_PLUGIN_DIR/helmez-bin

0 comments on commit d6993f6

Please sign in to comment.