mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-18 17:37:03 +00:00
support disabling ssl validation in openapi2jsonschema.py
This commit is contained in:
parent
752a33eaeb
commit
aa3f1ca306
1 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,9 @@ import json
|
|||
import sys
|
||||
import os
|
||||
import urllib.request
|
||||
if 'DISABLE_SSL_CERT_VALIDATION' in os.environ:
|
||||
import ssl
|
||||
ssl._create_default_https_context = ssl._create_unverified_context
|
||||
|
||||
def test_additional_properties():
|
||||
for test in iter([{
|
||||
|
|
|
|||
Loading…
Reference in a new issue