From be67e8ab3e79b138a2631b89ec7cb50d8dacf224 Mon Sep 17 00:00:00 2001 From: Joey Rees-Hill Date: Fri, 26 Jun 2020 15:52:45 -0700 Subject: [PATCH] Add support for end-of-options flag (--) All parameters after the -- flag will be passed directly to helm. Fixes #5 --- scripts/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/run.sh b/scripts/run.sh index a5fa219..47fa02a 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -21,6 +21,10 @@ do kubeval_options+=("$2") shift 2 ;; + --) + eoo=1 + shift + ;; *) helm_options+=("$1") shift