mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-17 09:39:51 +00:00
skipKinds + better error logging
This commit is contained in:
parent
d3ed871833
commit
3c6d3e351c
4 changed files with 110 additions and 20 deletions
|
|
@ -20,10 +20,10 @@ type KubernetesRegistry struct {
|
|||
strict bool
|
||||
}
|
||||
|
||||
func NewKubernetesRegistry() *KubernetesRegistry {
|
||||
func NewKubernetesRegistry(strict bool) *KubernetesRegistry {
|
||||
return &KubernetesRegistry{
|
||||
baseURL: "https://kubernetesjsonschema.dev",
|
||||
strict: false,
|
||||
strict: strict,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue