instrumenta / instrumenta/kubeval

Validate partial document

Open
#109 2 comments 0 reactions 0 assignees View on GitHub
question schema
Dominant language
Go
Stars
3.2k
Forks
227
PR merge metrics
No merged PRs in 30d

Description

This DaemonSet is incomplete yet kubeval validates as ok.

```
[jodewey:~/git/konfig] 2 % kubeval foo.yaml
The document foo.yaml contains a valid DaemonSet
[jodewey:~/git/konfig] % kubectl apply --dry-run --validate -f foo.yaml
daemonset.apps "foo" created (dry run)
[jodewey:~/git/konfig] % cat foo.yaml
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: foo
namespace: foo
```

I would expect kubeval to report an issue, esp when not fully complete. I understand the data is valid for an update but not an initial deployment.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.