kustomize.v2.Directory raises "Unexpected type. Expected 'list' got '<class 'str'>'" [Python] #3389
Labels
awaiting-feedback
Blocked on input from the author
kind/bug
Some behavior is incorrect or out of spec
What happened?
When using the kustomize directory resource, the sub resources are deployed correctly to the cluster as far as I can tell, but the execution fails with this stack on Python:
Example
The program is attempting to install the local-path-provisioner in the cluster:
The referenced directory contains local-path-storage.yaml and this
kustomization.yaml
:Output of
pulumi about
The shown resources are from after the failing update was run, so you see the subresources are in fact created, also in the pulumi stack:
Additional context
As you might guess from the about output:
Also what might be interesting: Doing kustomize outside of Pulumi and then using
ConfigGroup
orConfigFile
on the output works flawlessly!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).
The text was updated successfully, but these errors were encountered: