GoogleContainerTools / GoogleContainerTools/skaffold
Fail with more better error when kubectl manifests resolves to a directory
Open
area/errors
kind/friction
priority/p2
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
From [Stackoverflow](https://stackoverflow.com/questions/69309945/gcp-kuberentes-cloud-deploy-vs-cloud-build): a user had a `k8s-manifests` *directory* and their skaffold.yaml had manifests listed as `k8s-*`. Skaffolded failed with a puzzling `invalid kubernetes manifest` whereas we could say something like `k8s-manifests is a directory`.
Or perhaps we should treat directories by including all the manifests within?
Contributor guide
Assessment
This issue has not been assessed yet.