Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
use correct path to helm in helm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jensh007 committed Feb 18, 2021
1 parent d4193b2 commit d0abd41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/helm.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def undeploy_chart(self, release_name: str, namespace: str, kubeconfig_path: str
@ensure_helm_binary
def helm_index(self, chart_dir: str, index_yaml_file: str):
if index_yaml_file:
command = ["helm", "repo", "index", "--merge", index_yaml_file, chart_dir]
command = [self.bin_path, "repo", "index", "--merge", index_yaml_file, chart_dir]
else:
command = ["helm", "repo", "index", chart_dir]
command = [self.bin_path, "repo", "index", chart_dir]

print(f" Run: {' '.join(command)}\n")
result = subprocess.run(command, capture_output=True, text=True)
Expand Down

0 comments on commit d0abd41

Please sign in to comment.