https://pulumi.com logo
Title
i

icy-jordan-58549

06/15/2021, 1:41 PM
crd2pulumi --nodejsPath=src/ crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml crds/actions.summerwind.dev_runnerreplicasets.yaml crds/actions.summerwind.dev_runnerdeployments.yaml --force && rm src/tsconfig.json && rm src/package.json
panic: fatal: error An assertion has failed: could not parse Pulumi package. source error: could not import spec: binding types: failed to bind type kubernetes:actions.summerwind.dev/v1alpha1:RunnerReplicaSetSpecTemplateSpecInitContainers: unknown required property name

goroutine 1 [running]:
<http://github.com/pulumi/pulumi/sdk/v2/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v2/go/common/util/contract.failfast(...)>
        /Users/fed/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.9.2/go/common/util/contract/failfast.go:23
how to reproduce:
curl -L <https://github.com/actions-runner-controller/actions-runner-controller/releases/download/actions-runner-controller-0.12.2/actions-runner-controller-0.12.2.tgz> | tar zxv --strip 1 actions-runner-controller/crds
crd2pulumi --nodejsPath=src/ crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml crds/actions.summerwind.dev_runnerreplicasets.yaml crds/actions.summerwind.dev_runnerdeployments.yaml crds/actions.summerwind.dev_runners.yaml --force
b

billowy-army-68599

06/15/2021, 1:47 PM
Please open a GitHub issue
i

icy-jordan-58549

06/15/2021, 3:25 PM
could you please say in which repo? pulumi/pulumi?
b

billowy-army-68599

06/15/2021, 3:28 PM
in the crd2pulumi repo