kubernetes-sigs / cli-experimental

Experimental Kubectl libraries and commands.
Apache License 2.0
83 stars 214 forks source link

Multibase example does not build #358

Closed lindhe closed 11 months ago

lindhe commented 11 months ago

I have followed the Multibase example to the T and is unable to build it using Kustomize.

$ tree
.
├── base
│   ├── kustomization.yaml
│   └── pod.yaml
├── dev
│   └── kustomization.yaml
├── kustomization.yaml
├── prod
│   └── kustomization.yaml
└── staging
    └── kustomization.yaml

4 directories, 6 files

$ kustomize build
Error: accumulating resources: accumulation err='accumulating resources from './production': evalsymlink failure on '/tmp/tmp.Bfasy0Dhc6/production' : lstat /tmp/tmp.Bfasy0Dhc6/production: no such file or directory': must build at directory: not a valid directory: evalsymlink failure on '/tmp/tmp.Bfasy0Dhc6/production' : lstat /tmp/tmp.Bfasy0Dhc6/production: no such file or directory

Kustomize version:

$ kustomize version
v5.1.0

I assume it's a documentation issue, but I guess it could also be a bug in Kustomize.

lindhe commented 11 months ago

Typo on my side. The directory should be named production, not prod.