GoogleContainerTools / GoogleContainerTools/skaffold

Skaffold apply fails: <manifest.yaml> is not a valid Kubernetes manifest

Open
#8,247 4 comments 0 reactions 0 assignees View on GitHub
kind/question needs-reproduction
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

Is there a way to bypass validation when doing a `skaffold apply`?
`Skaffold deploy` works but doing a skaffold render then apply fails here with terse message.

### Expected behavior
skaffold apply deploys the manifest.yaml
### Actual behavior
` is not a valid Kubernetes manifest` error
### Information

- Skaffold version: v2.0.3 and v1.39.1
- Operating system: Ubuntu 20.04.2 LTS
- Installed via: curl
- Contents of skaffold.yaml:

```yaml
apiVersion: skaffold/v2beta29
kind: Config
deploy:
helm:
releases:
- name: clouddeploy-email
namespace: tt-email
remoteChart: oci://path/to/chart
#repo: my-repo
version: 2.2.6
valuesFiles:
- ./environments/common.yaml
- ./environments/dev/dev.yaml
flags:
upgrade:
- --install
```

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.