mirror of
https://github.com/yannh/kubeconform.git
synced 2026-07-03 09:59:31 +00:00
support disabling ssl validation in openapi2jsonschema.py (#167)
* support disabling ssl validation in openapi2jsonschema.py * added acceptance tests for disable ssl feature * speed up bats docker build
This commit is contained in:
parent
563e1db94c
commit
aaecabe0b7
3 changed files with 42 additions and 2 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…
Add table
Add a link
Reference in a new issue