Skip to content

get_helm_installations doesn't support --kube-context #82

Description

@aarcro

def get_helm_installations(namespace: Optional[str] = None):

Without taking an options dict, we can't pass kube-context to tell helm which cluster to get the installations from. (Well we can, because the string handling isn't secure, we can just use f"{namespace} --kube-context {context}" for the namespace name, but that seems abusive).

def is_installed(self):

is_installed as a property also has no way to pass the context. But that seems like a bigger lift to improve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions