Skip to content

Commit

Permalink
Read custom Helm path from CUSTOM_HELM_PATH env var
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar <akash@akash.im>
  • Loading branch information
HashNuke committed Aug 23, 2023
1 parent 12b1152 commit 65912d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/utils.cr
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def binary_path
end

def local_helm_full_path
return ENV["CUSTOM_HELM_PATH"] if ENV["CUSTOM_HELM_PATH"]?
"#{FileUtils.pwd}/#{binary_path}"
end

Expand Down

0 comments on commit 65912d6

Please sign in to comment.