GoogleContainerTools / GoogleContainerTools/skaffold

Fail with more better error when kubectl manifests resolves to a directory

Open
#6,641 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.