https://pulumi.com logo
Title
e

enough-kite-69616

05/20/2020, 3:26 PM
Trying to install a helm chart as part of my build:
let camelK = new Chart("camel-k", {
    repo: "camel-k",
    chart: "camel-k",
    values: {
        'platform.build.registry.address' : acr.loginServer,
        'platform.build.registry.insecure' : !acr.adminEnabled
    }
})
and I'm getting this error:
error: Error: Command failed: helm template /var/folders/_b/fnf5x33x71q84n1v5dtl90mw0000gn/T/tmp-45081RVV0QSVzTy32/camel-k --name-template camel-k --values /var/folders/_b/fnf5x33x71q84n1v5dtl90mw0000gn/T/tmp-45081RVV0QSVzTy32/camel-k/values.yaml --values /var/folders/_b/fnf5x33x71q84n1v5dtl90mw0000gn/T/tmp-45081cjOipuG2FUdg.yaml
    Error: apiVersion 'v2' is not valid. The value must be "v1"
 
    Error: apiVersion 'v2' is not valid. The value must be "v1"
b

billowy-army-68599

05/20/2020, 3:51 PM
@enough-kite-69616 can you show the out of
helm version --short
?
e

enough-kite-69616

05/20/2020, 3:52 PM
helm version --short
Client: v2.16.7+g5f2584f
Server: v2.16.7+g5f2584f
b

billowy-army-68599

05/20/2020, 4:04 PM
The chart was created with helm v3, so it won’t be deployable with helm v2 unfortunately. See this issue https://github.com/helm/helm/issues/6753
This isn’t related to Pulumi, it’s the underlying helm binary that we use to template the charts
e

enough-kite-69616

05/20/2020, 4:07 PM
Gotcha, thanks!