in 02_bootstrap-scripts-python/bootstrap/helm.py [0:0]
def get_helm_image(self, image: str, targetPath: str):
pull_cmd = self.get_command_instance()
pull_cmd.set_main_arg("chart")
pull_cmd.add_args("pull", image)
pull_cmd.run()
export_cmd = self.get_command_instance()
export_cmd.set_main_arg("chart")
export_cmd.add_args("export", image)
old_dir = getcwd()
chdir(targetPath)
export_cmd.run()
chdir(old_dir)