13
0
Fork 0
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:
w7089 2023-02-26 13:33:54 +02:00 committed by GitHub
parent 563e1db94c
commit aaecabe0b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 2 deletions

View file

@ -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([{