Repository navigation
Labels
BugExisting behavior is incorrect or out of specExisting behavior is incorrect or out of specimpact/panicThis bug represents a panic or unexpected crashThis bug represents a panic or unexpected crashkind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of specresolution/fixedThis issue was fixedThis issue was fixed
Description
Describe what happened
How to reproduce:
mkdir crd-sdk-generation-test
cd crd-sdk-generation-test
go mod init crd-sdk-generation-test
curl -L https://istio.io/downloadIstio | sh -
pulumi package add kubernetes --language go --extension "name='istio' crd-manifest='istio-1.31.0/manifests/charts/base/files/crd-all.gen.yaml'"
Output:
error: Detected that /home/developer/.pulumi/plugins/resource-kubernetes-v4.34.0/pulumi-resource-kubernetes exited prematurely.
This is *always* a bug in the provider. Please report the issue to the provider author as appropriate.
To assist with debugging we have dumped the STDOUT and STDERR streams of the plugin:panic: interface conversion: interface {} is nil, not string
goroutine 31 [running]:
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/gen.makeSchemaTypeSpec(0x18cced377ce0, 0x18cced7db650, 0x18ccee51af28)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/gen/typegen.go:396 +0x126d
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/gen.makeSchemaType(0x52b9100?, 0x18ccee519ef8?, 0x589e1cb?)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/gen/typegen.go:479 +0x1f
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/gen.createKinds({0x18ccedac8000?, 0x2d4?, 0x18cced200008?}, 0x18cced7db650, 0x18cced844000, 0x0, 0x18ccee51af28)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/gen/typegen.go:652 +0x725
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/gen.createGroups(0x18ccedc8c660, 0x0, 0x18ccee51af28)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/gen/typegen.go:495 +0x7c
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/gen.PulumiSchema(_, {_, _, _})
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/gen/schema.go:449 +0x43e8
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/provider.generateSchema(0x18ccec2c3c00?, {0x18ccec5ba3a7, 0x5}, {0x589f5d7, 0x5}, {0x58ab883, 0xa}, {0x5b2cd40, 0x7})
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider_parameterize.go:376 +0x34d
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/provider.(*kubeProvider).parameterizeRequestArgs(0x18ccecc36000, 0x18ccec93d680?)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider_parameterize.go:461 +0x413
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/provider.(*kubeProvider).Parameterize(0x18ccecc36000, {0x581ecc0?, 0x40?}, 0x18ccec4b0140)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider_parameterize.go:402 +0x112
github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Parameterize_Handler.func1({0x5b95d90?, 0x18cceca04990?}, {0x4f1ba60?, 0x18ccec4b0140?})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.259.0/proto/go/provider_grpc.pb.go:818 +0xce
github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x5b95d90, 0x18cceca04240}, {0x4f1ba60, 0x18ccec4b0140}, 0x18ccebf78880, 0x18ccec8521c8)
/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x3ac
github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Parameterize_Handler({0x581ecc0, 0x18ccecc36000}, {0x5b95d90, 0x18cceca04240}, 0x18ccec248080, 0x18ccecb9b4c0)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.259.0/proto/go/provider_grpc.pb.go:820 +0x143
google.golang.org/grpc.(*Server).processUnaryRPC(0x18ccecc34008, {0x5b95d90, 0x18cceca041b0}, 0x18ccec4c0700, 0x18ccecc10780, 0xb716758, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.83.1/server.go:1443 +0x11d2
google.golang.org/grpc.(*Server).handleStream(0x18ccecc34008, {0x5b9bb70, 0x18ccecb98000}, 0x18ccec4c0700)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.83.1/server.go:1858 +0xae6
google.golang.org/grpc.(*Server).serveStreams.func2.1()
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.83.1/server.go:1078 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 53
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.83.1/server.go:1089 +0x11d
error: failed to get schema: parameterize: rpc error: code = Unavailable desc = error reading from server: EOF
Sample program
Not applicable.
Log output
No response
Affected Resource(s)
No response
Output of pulumi about
CLI
Version 3.261.0
Go Version go1.27.0
Go Compiler gc
Host
OS fedora
Version 44
Arch x86_64
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Metadata
Metadata
Assignees
Labels
BugExisting behavior is incorrect or out of specExisting behavior is incorrect or out of specimpact/panicThis bug represents a panic or unexpected crashThis bug represents a panic or unexpected crashkind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of specresolution/fixedThis issue was fixedThis issue was fixed
Activity
guineveresaenger commentedon Sep 8, 2026
hi @yann-soubeyrand - we've already discovered this and a fix is in the works! thank you for letting us know. 🙇♀️
CRD schema gen: Fix nullable types (pulumi#4590)