Thread
#kubernetes
    c

    crooked-pillow-11944

    6 months ago
    I'm trying to deploy a simple helm chart with Python and
    pulumi_kubernetes.helm.v3
    but I'm getting an error
    failed to pull chart...version...not found
    . I can install the chart with Helm v3 fine. What could be my problem?
    Full code:
    nodejsweekly = Chart(
        "nodejsweekly",
        ChartOpts(
            chart="zufardhiyaulhaq/nodejsweekly",
            version="1.0.0",
    		namespace="nodejs-community",
            fetch_opts=FetchOpts(
                repo="<https://charts.zufardhiyaulhaq.com>",
            ),
        ),
    )
    Full exception:
    Exception: invoke of kubernetes:helm:template failed: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to pull chart: chart "zufardhiyaulhaq/nodejsweekly" version "1.0.0" not found in <https://charts.zufardhiyaulhaq.com> repository
        error: an unhandled error occurred: Program exited with non-zero exit code: 1
    Working helm install:
    $ helm install nodejsweekly zufardhiyaulhaq/nodejsweekly --set secret=foo
    W0226 16:55:20.000076   34150 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
    W0226 16:55:20.013685   34150 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
    NAME: nodejsweekly
    LAST DEPLOYED: Sat Feb 26 16:55:19 2022
    NAMESPACE: default
    STATUS: deployed
    REVISION: 1
    TEST SUITE: None
    $ helm show all zufardhiyaulhaq/nodejsweekly | grep version
    version: 1.0.0
    s

    steep-toddler-94095

    6 months ago
    just a guess but can you try it with
    chart="nodejsweekly",
    instead?
    c

    crooked-pillow-11944

    6 months ago
    who knew is would be that easy? thanks @steep-toddler-94095