def _remove_helm_deployment()

in subcommands/uninstall.py [0:0]


def _remove_helm_deployment(chart, namespace):
    deployment_name = f"{chart}-{namespace}"
    if _get_yn_response(
        f"This will remove the deployment {deployment_name}. Continue (y/n)? "
    ):
        command = ["helm", "uninstall", deployment_name, "-n", namespace]
        subprocess.check_output(command)