From beec61e2ab63aa75a67be5ba739db8eec059f5fe Mon Sep 17 00:00:00 2001 From: Kamontat Chantrachirathumrong Date: Mon, 10 Aug 2020 12:19:17 +0700 Subject: [PATCH] perf(app): new parameter in agkube --- src/alias/agoda.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/alias/agoda.sh b/src/alias/agoda.sh index 3d4ca45..3eee3b8 100644 --- a/src/alias/agoda.sh +++ b/src/alias/agoda.sh @@ -5,13 +5,14 @@ __myzs_initial "$0" __agoda_kube() { confpath="${1:-$HOME/.kube/config}" namespace="${2:-pricepush-ci1}" + workspace="${3:-$HOME/Desktop/docker}" docker \ run \ --rm \ -it \ -e TILLER_NAMESPACE="$namespace" \ - -v "$HOME/Desktop/docker:/root/workspace" \ + -v "${workspace}:/root/workspace" \ -v "${confpath}:/root/.kube/config" \ -w /root/workspace \ "reg-hk.agodadev.io/aiab/kubectl-helm:hkci-helm3" \