Skip to content

Commit

Permalink
Add support for end-of-options flag (--)
Browse files Browse the repository at this point in the history
All parameters after the -- flag will be passed directly to helm.

Fixes instrumenta#5
  • Loading branch information
jarhill0 committed Jun 26, 2020
1 parent 7476464 commit be67e8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ do
kubeval_options+=("$2")
shift 2
;;
--)
eoo=1
shift
;;
*)
helm_options+=("$1")
shift
Expand Down

0 comments on commit be67e8a

Please sign in to comment.