-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the --additional-schema-locations flag
This adds an option to kubeval's configuration that allows the use of additional base URLs to search for schemas. The tool will still prefer the default repositories, but if a schema cannot be found for a given YAML document (e.g. a CRD), kubeval will fallback on the secondary URLs. This implies that schemas must have been pre-generated and hosted at the secondary URLs.
- Loading branch information
1 parent
4e5d0f6
commit f424282
Showing
3 changed files
with
180 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters