I’m trying to pulumi preview a new stack, and gett...
# golang
i
I’m trying to pulumi preview a new stack, and getting a panic:
Copy code
panic: reflect: Elem of [secret] type interface {}

goroutine 262 [running]:

reflect.(*rtype).Elem(0x1f42040, 0xc00042d1b0, 0x194)

	/usr/local/Cellar/go/1.16.3/libexec/src/reflect/type.go:915 +0x1a5

<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.awaitInputs(0x23fd638|github.com/pulumi/pulumi/sdk/v3/go/pulumi.awaitInputs(0x23fd638>, 0xc0000580e0, 0x1f89ee0, 0xc00042d190, 0x94, 0x1f42040, 0xc00042d1b0, 0x194, 0x2420000, 0x0, ...)

	/Users/pquerna/xsrc/ductone/ops/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go:702 +0x2662

<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.awaitInputs(0x23fd638|github.com/pulumi/pulumi/sdk/v3/go/pulumi.awaitInputs(0x23fd638>, 0xc0000580e0, 0x2088f00, 0xc00042d180, 0x99, 0x1fdc340, 0xc00042d1a0, 0x199, 0x0, 0x0, ...)

	/Users/pquerna/xsrc/ductone/ops/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go:734 +0x150a

<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.toOutputTWithContext.func3(0xc00042d1c0|github.com/pulumi/pulumi/sdk/v3/go/pulumi.toOutputTWithContext.func3(0xc00042d1c0>, 0x2088f00, 0xc00042d180, 0x2409798, 0xc00029dc70, 0x23fd638, 0xc0000580e0, 0x1fdc340, 0xc00042d1a0, 0x199, ...)

	/Users/pquerna/xsrc/ductone/ops/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go:828 +0x137

created by <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.toOutputTWithContext|github.com/pulumi/pulumi/sdk/v3/go/pulumi.toOutputTWithContext>

	/Users/pquerna/xsrc/ductone/ops/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go:820 +0x216
c
Can you open an issue with the code that caused this panic here?
i
https://github.com/pulumi/pulumi/issues/7706 I was able to reduce it to just this DaemonSet — but I don’t see anything particularly special about it…. or how I could do a work around?