Are there any kustomize gotchas? I'm passing an ab...
# kubernetes
Are there any kustomize gotchas? I'm passing an absolute path directory in and getting nil pointer panics in go. Update: it doesnt appear to be an issue finding the directory because if I intentionally set a base in the kustomization.yaml that doesn't exists it gives me the expected error. Second update: it looks like the issue is that my customize was using the built in LabelTransfomer
Using Typescript, cli version is 2.24.1
the path is correct as I logged it, cd'd into it and ran a successful kustomize build
Copy code
new k8s.kustomize.Directory(name, {
            directory: path.join(__dirname, 'kustomize'),
        }, localOpts)
Copy code
pulumi:pulumi:Stack (xxx):
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x10346e5e0]
    goroutine 27 [running]:
    <*Loader).loadAndConfigurePlugin(0x14001548370|*Loader).loadAndConfigurePlugin(0x14001548370>, 0x103ea8600, 0x1400115cb40, 0x103ebcf68, 0x104e71048, 0x1400258ec80, 0x140024fa748, 0x103451408, 0x14001224ae8, 0x14001224ae0)
    	/home/runner/go/pkg/mod/ +0x40
If I switch out the directory for a URL it works fine.