-
Notifications
You must be signed in to change notification settings - Fork 485
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
Add plugin: kubeval #259
Add plugin: kubeval #259
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,43 @@ | ||||||
apiVersion: krew.googlecontainertools.github.com/v1alpha2 | ||||||
kind: Plugin | ||||||
metadata: | ||||||
 name: validate-config | ||||||
spec: | ||||||
 version: "0.14.0" | ||||||
 shortDescription: Validate your Kubernetes configuration files | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
description: | | ||||||
The plugin validate a Kubernetes YAML or JSON configuration file. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
It does so using schemas generated from the Kubernetes OpenAPI specification, | ||||||
and therefore can validate schemas for multiple versions of Kubernetes | ||||||
homepage: https://github.com/instrumenta/kubeval | ||||||
 platforms: | ||||||
 - uri: https://github.com/instrumenta/kubeval/releases/download/0.14.0/kubeval-linux-amd64.tar.gz | ||||||
 sha256: "8b1b8c63df9ee3206113a3352e07474ea071610cfacf40a64db74c56e163f1e2" | ||||||
 bin: kubeval | ||||||
 files: | ||||||
 - from: "./kubeval" | ||||||
 to: "." | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please also install a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The archive already includes a
|
||||||
 selector: | ||||||
 matchLabels: | ||||||
 os: linux | ||||||
 arch: amd64 | ||||||
 - uri: https://github.com/instrumenta/kubeval/releases/download/0.14.0/kubeval-darwin-amd64.tar.gz | ||||||
 sha256: "05b9993e59a32b95bc5496dd98598e4a425643151efd108c0449405dd4a2a4c7" | ||||||
 bin: kubeval | ||||||
 files: | ||||||
 - from: "./kubeval" | ||||||
 to: "." | ||||||
 selector: | ||||||
 matchLabels: | ||||||
 os: darwin | ||||||
 arch: amd64 | ||||||
- uri: https://github.com/instrumenta/kubeval/releases/download/0.14.0/kubeval-windows-amd64.zip | ||||||
sha256: "2a844518981848a7d77cced9b51a05174ba9c17fc007a1c48cd2af0d3fb021d7" | ||||||
 bin: kubeval.exe | ||||||
 files: | ||||||
 - from: "./kubeval.exe" | ||||||
 to: "." | ||||||
 selector: | ||||||
 matchLabels: | ||||||
 os: windows | ||||||
 arch: amd64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.