Skip to content

Commit

Permalink
New linter: kubeconform (#1285)
Browse files Browse the repository at this point in the history
* New linter: kubeconform

* kubeconform: Fix launch cmd

* kubeconform: fix spelling

* kubeconform: fix error count

* kubeconform: fix regex

* kubeconfirm: adding bad files to test counts

* Force rebuild
  • Loading branch information
Yann-J authored Feb 21, 2022
1 parent 4935667 commit a242f15
Show file tree
Hide file tree
Showing 161 changed files with 11,761 additions and 11,906 deletions.
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
2 changes: 1 addition & 1 deletion .automation/test/kubernetes/kubernetes/kubeval_bad_1.yaml
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

0 comments on commit a242f15

Please sign in to comment.