I’m following the tutorial from the website <https...
# golang
c
I’m following the tutorial from the website https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/kubernetes-go-helm-wordpress/ and I am continuously getting the error panic: interface conversion: interface {} is nil, not *v1.Service goroutine 78 [running]: main.main.func1.1({0x0?, 0x0?}) /Users/kurt/Documents/Programming/quickstart/main.go:36 +0x78 reflect.Value.call({0x1069b2920?, 0x10729ac88?, 0x1400013b108?}, {0x10606abd4, 0x4}, {0x14000980888, 0x1, 0x0?}) /opt/homebrew/Cellar/go/1.19.1/libexec/src/reflect/value.go:584 +0x688 reflect.Value.Call({0x1069b2920?, 0x10729ac88?, 0x10?}, {0x14000980888?, 0x14000400201?, 0x5000a?}) /opt/homebrew/Cellar/go/1.19.1/libexec/src/reflect/value.go:368 +0x90 github.com/pulumi/pulumi/sdk/v3/go/pulumi.makeContextful.func1({0x14000980870?, 0x4?, 0x4?}) /Users/kurt/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.43.1/go/pulumi/types.go:384 +0x58 reflect.Value.call({0x140000f2ae0?, 0x14000130de0?, 0x13?}, {0x10606abd4, 0x4}, {0x14000197f98, 0x2, 0x2?}) /opt/homebrew/Cellar/go/1.19.1/libexec/src/reflect/value.go:584 +0x688 reflect.Value.Call({0x140000f2ae0?, 0x14000130de0?, 0x140000760a0?}, {0x14000460798?, 0x0?, 0x0?}) /opt/homebrew/Cellar/go/1.19.1/libexec/src/reflect/value.go:368 +0x90 github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*OutputState).ApplyTWithContext.func1() /Users/kurt/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.43.1/go/pulumi/types.go:505 +0x2a8 created by github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*OutputState).ApplyTWithContext /Users/kurt/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.43.1/go/pulumi/types.go:493 +0x380
could someone please help me understand why this isnt working
f
Hey Kurt! What have you got on the line 35 of main.go? The error happens there, but in this tutorial https://github.com/pulumi/examples/blob/master/kubernetes-go-helm-wordpress/main.go the file is in fact shorter than 36 lines.