mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-15 16:59:51 +00:00
add -insecure-skip-tls-verify
This commit is contained in:
parent
b162c5b6f5
commit
ec56304efd
5 changed files with 13 additions and 4 deletions
|
|
@ -150,7 +150,7 @@ func realMain() int {
|
|||
|
||||
registries := []registry.Registry{}
|
||||
for _, schemaLocation := range cfg.SchemaLocations {
|
||||
registries = append(registries, registry.New(schemaLocation, cfg.Strict))
|
||||
registries = append(registries, registry.New(schemaLocation, cfg.Strict, cfg.SkipTLS))
|
||||
}
|
||||
|
||||
var o output.Output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue