Refactoring to Python
This commit is contained in:
parent
cd5035602a
commit
7d959f892a
43 changed files with 454 additions and 34 deletions
|
|
@ -4,6 +4,11 @@ import json
|
|||
|
||||
# https://github.com/kubernetes-client/python/tree/master/kubernetes/docs
|
||||
|
||||
|
||||
# Fix error:
|
||||
# raise MaxRetryError(_pool, url, error or ResponseError(cause))
|
||||
# urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='10.152.183.1', port=443): Max retries exceeded with url: /api/v1/namespaces/parking/services/parking-valida-me (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))
|
||||
|
||||
def main():
|
||||
config.load_incluster_config()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue