Anyone ever experience ```Error: invocation of ku...
# general
c
Anyone ever experience
Copy code
Error: invocation of kubernetes:yaml:decode returned an error: Unknown Invoke type 'kubernetes:yaml:decode'
        at /Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/runtime/invoke.js:172:33
        at Object.onReceiveStatus (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:1210:9)
        at InterceptingListener._callNext (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:568:42)
        at InterceptingListener.onReceiveStatus (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:618:8)
        at callback (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:847:24)
It keeps occurring in one project and I can’t figure out the cause. There are only 2 resources, a namespace and a helm chart.
g
That’s odd. It looks like the SDK and provider are out of sync somehow. You might try reinstalling the NodeJS packages in that project
c
I have, it didn’t change anything.
I’ll go ahead and submit a bug
Unfortunately this is blocking us on all projects using helm.
👀 1
g
@cool-egg-852 Can you try using 1.4.1 of the k8s provider and see if that unblocks you?
1.5.0 was released today, so you might try that as well
c
I already tried 1.5.0
Trying 1.4.1 right now
It does appear to fix the issue
👍 1
Trying it with 1.5.0 again
1.5.0 breaks it
1.4.1 fixes it
g
I’m trying to figure out what could be causing the issue you reported. I’ll keep you posted.
c
Thanks
g
Did you just upgrade recently, or had you been using 1.4.2, 1.4.4, or 1.4.5 successfully before?
c
I was on vacation so I don’t recall the last version that worked, but I did upgrade just yesterday and it broke.
Actually, it probably broke a while ago, but we don’t make changes to our helm projects too often
So while we updated the dep, we didn’t notice the issue right away
👍 1
g
Can you run
pulumi plugin ls | grep kubernetes
for me?
c
Copy code
kubernetes  resource  1.5.0                             49 MB   3 hours ago   3 hours ago
kubernetes  resource  1.4.5                             49 MB   1 day ago     1 day ago
kubernetes  resource  1.4.3                             49 MB   3 weeks ago   3 weeks ago
kubernetes  resource  1.4.1                             49 MB   1 month ago   1 month ago
kubernetes  resource  1.4.0                             49 MB   1 month ago   1 month ago
kubernetes  resource  1.3.4                             49 MB   1 month ago   1 month ago
kubernetes  resource  1.3.3                             49 MB   2 months ago  2 months ago
kubernetes  resource  1.3.2                             49 MB   2 months ago  2 months ago
kubernetes  resource  1.3.1                             49 MB   2 months ago  2 months ago
kubernetes  resource  1.3.0                             49 MB   2 months ago  2 months ago
kubernetes  resource  1.2.3                             47 MB   3 months ago  3 months ago
kubernetes  resource  1.2.2                             47 MB   3 months ago  3 months ago
kubernetes  resource  1.2.1                             47 MB   3 months ago  3 months ago
kubernetes  resource  1.2.0                             47 MB   3 months ago  3 months ago
kubernetes  resource  1.2.0-alpha.1570221098+g55fc3c02  47 MB   4 months ago  4 months ago
kubernetes  resource  1.2.0-alpha.1569886708+g5e311f84  47 MB   4 months ago  4 months ago
kubernetes  resource  1.1.0                             53 MB   4 months ago  4 months ago
kubernetes  resource  1.0.1                             53 MB   4 months ago  4 months ago
kubernetes  resource  1.0.0                             53 MB   5 months ago  5 months ago
kubernetes  resource  1.0.0-rc.1                        53 MB   5 months ago  5 months ago
kubernetes  resource  1.0.0-beta.2                      53 MB   5 months ago  5 months ago
kubernetes  resource  1.0.0-beta.1                      52 MB   5 months ago  5 months ago
kubernetes  resource  0.25.6                            51 MB   5 months ago  5 months ago
kubernetes  resource  0.25.5                            50 MB   5 months ago  5 months ago
kubernetes  resource  0.25.4                            50 MB   5 months ago  5 months ago
kubernetes  resource  0.25.2                            50 MB   5 months ago  5 months ago
kubernetes  resource  0.25.1                            52 MB   5 months ago  5 months ago
kubernetes  resource  0.25.0                            52 MB   5 months ago  5 months ago
I’m 99% sure that’s the case too
If you look at the error in
provider.go
, it shows the error message. It’s in a switch based on
tok
.
The
tok
is
kubernetes:yaml:decode
However, the case is
invokeDecodeYaml
I don’t know Go much, but that is my guess