Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New linter: kubeconform #1285

Merged
merged 11 commits into from
Feb 21, 2022
18,720 changes: 9,360 additions & 9,360 deletions .automation/generated/flavors-stats.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .automation/generated/linter-licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"jscpd": "MIT",
"kics": "Apache-2.0",
"ktlint": "MIT",
"kubeconform": "Other",
"kubeval": "Other",
"luacheck": "MIT",
"markdown-table-formatter": "MIT",
Expand Down
5 changes: 5 additions & 0 deletions .automation/generated/linter-links-previews.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@
"image": null,
"title": "ktlint"
},
"kubeconform": {
"description": "A FAST Kubernetes manifests validator, with support for Custom Resources! - GitHub - yannh/kubeconform: A FAST Kubernetes manifests validator, with support for Custom Resources!",
"image": "https://opengraph.githubassets.com/b990bb1574e3f44a352a20ca20657b21cc9f52eb1738f5551195458f99aa596d/yannh/kubeconform",
"title": "GitHub - yannh/kubeconform: A FAST Kubernetes manifests validator, with support for Custom Resources!"
},
"kubeval": {
"description": "Validate your Kubernetes configuration files, supports multiple Kubernetes versions - instrumenta/kubeval",
"image": "https://avatars2.githubusercontent.com/u/49038473?s=400&v=4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ spec:
- name: nginx
image: nginx
ports:
- containerPort: 80
- containerPort: 80
19 changes: 19 additions & 0 deletions .automation/test/kubernetes/kubernetes/kubeval_bad_2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v1
kind: UnknownKind
metadata:
name: "bob"
spec:
replicas: "asd"
selector:
app: nginx
templates:
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
Loading