kubernator 1.0.15.dev20240427211819__py3-none-any.whl → 1.0.16.dev20240502034800__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kubernator might be problematic. Click here for more details.
- kubernator/__init__.py +1 -1
- kubernator/api.py +7 -7
- {kubernator-1.0.15.dev20240427211819.dist-info → kubernator-1.0.16.dev20240502034800.dist-info}/METADATA +2 -2
- {kubernator-1.0.15.dev20240427211819.dist-info → kubernator-1.0.16.dev20240502034800.dist-info}/RECORD +9 -9
- {kubernator-1.0.15.dev20240427211819.dist-info → kubernator-1.0.16.dev20240502034800.dist-info}/WHEEL +0 -0
- {kubernator-1.0.15.dev20240427211819.dist-info → kubernator-1.0.16.dev20240502034800.dist-info}/entry_points.txt +0 -0
- {kubernator-1.0.15.dev20240427211819.dist-info → kubernator-1.0.16.dev20240502034800.dist-info}/namespace_packages.txt +0 -0
- {kubernator-1.0.15.dev20240427211819.dist-info → kubernator-1.0.16.dev20240502034800.dist-info}/top_level.txt +0 -0
- {kubernator-1.0.15.dev20240427211819.dist-info → kubernator-1.0.16.dev20240502034800.dist-info}/zip-safe +0 -0
kubernator/__init__.py
CHANGED
kubernator/api.py
CHANGED
|
@@ -38,7 +38,7 @@ from typing import Optional, Union, MutableSequence
|
|
|
38
38
|
|
|
39
39
|
import requests
|
|
40
40
|
import yaml
|
|
41
|
-
from
|
|
41
|
+
from platformdirs import user_cache_dir
|
|
42
42
|
from diff_match_patch import diff_match_patch
|
|
43
43
|
from jinja2 import (Environment,
|
|
44
44
|
ChainableUndefined,
|
|
@@ -118,17 +118,17 @@ def _download_remote_file(url, file_name, cache: dict):
|
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
def get_app_cache_dir():
|
|
121
|
-
return Path(
|
|
121
|
+
return Path(user_cache_dir("kubernator", "karellen"))
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
def get_cache_dir(category: str, sub_category: str = None):
|
|
125
|
-
|
|
125
|
+
cache_dir = get_app_cache_dir() / category
|
|
126
126
|
if sub_category:
|
|
127
|
-
|
|
128
|
-
if not
|
|
129
|
-
|
|
127
|
+
cache_dir = cache_dir / sub_category
|
|
128
|
+
if not cache_dir.exists():
|
|
129
|
+
cache_dir.mkdir(parents=True)
|
|
130
130
|
|
|
131
|
-
return
|
|
131
|
+
return cache_dir
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
def download_remote_file(logger, url: str, category: str = "k8s", sub_category: str = None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: kubernator
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.16.dev20240502034800
|
|
4
4
|
Summary: Kubernator is the a pluggable framework for K8S provisioning
|
|
5
5
|
Home-page: https://github.com/karellen/kubernator
|
|
6
6
|
Author: Express Systems USA, Inc.
|
|
@@ -31,7 +31,6 @@ Classifier: Intended Audience :: Developers
|
|
|
31
31
|
Classifier: Development Status :: 4 - Beta
|
|
32
32
|
Requires-Python: >=3.9
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
|
-
Requires-Dist: appdirs ~=1.4
|
|
35
34
|
Requires-Dist: coloredlogs ~=15.0
|
|
36
35
|
Requires-Dist: diff-match-patch >2023.0
|
|
37
36
|
Requires-Dist: gevent >=21.1.2
|
|
@@ -43,6 +42,7 @@ Requires-Dist: jsonschema <4.0
|
|
|
43
42
|
Requires-Dist: kubernetes ~=29.0
|
|
44
43
|
Requires-Dist: openapi-schema-validator ~=0.1
|
|
45
44
|
Requires-Dist: openapi-spec-validator ~=0.3
|
|
45
|
+
Requires-Dist: platformdirs ~=4.2
|
|
46
46
|
Requires-Dist: requests ~=2.25
|
|
47
47
|
|
|
48
48
|
# Kubernator
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
kubernator/LICENSE,sha256=wKKdOCMTCPQRV5gDkVLAsXX8qSnRJ5owk7yWPO1KZNo,11387
|
|
2
|
-
kubernator/__init__.py,sha256=
|
|
2
|
+
kubernator/__init__.py,sha256=JVANgHC_qE2It30D4p-M8a7cCPywJy3IFyNXKShwdAs,933
|
|
3
3
|
kubernator/__main__.py,sha256=f0S60wgpLu--1UlOhzfWail-xt8zyIuODodX98_yPN0,707
|
|
4
4
|
kubernator/_json_path.py,sha256=pjQKXxgbpQWETYBIrIuJZHgugF92IbEAM19AC7JUmAQ,3162
|
|
5
5
|
kubernator/_k8s_client_patches.py,sha256=PEeWPInnW38NDyK7G24_Dmw-x7xHpN3vJWZeckdqgK0,76892
|
|
6
|
-
kubernator/api.py,sha256=
|
|
6
|
+
kubernator/api.py,sha256=F3ClonAv_ZTodrePhPpF5sPJ_vzxMCTODlGltXUuPYI,26657
|
|
7
7
|
kubernator/app.py,sha256=xY1zH3sGpEY0p542S7NZM4TszM5Oac658zZAJhCj8B8,20603
|
|
8
8
|
kubernator/merge.py,sha256=eW5fajnDdI2n8aUqRfTmdG6GWDvDtcVKPKsp3fiB5Nk,5882
|
|
9
9
|
kubernator/proc.py,sha256=8YlgbppyHic_51fVTPD7OP8x5yuRuL8j1kThR8MJjNI,5119
|
|
@@ -21,10 +21,10 @@ kubernator/plugins/minikube.py,sha256=kWPDIS4X1JnEoXw_rIOvgvFtjJMch39uL0mD7gQwtj
|
|
|
21
21
|
kubernator/plugins/template.py,sha256=KEiPfI7TbYXmF4a8ATWuFhxxWbcASHttFM_ekYEZ8Ps,8371
|
|
22
22
|
kubernator/plugins/terraform.py,sha256=a1MPl9G8Rznjd28uMRdYWrjpFDLlFAVmLFH4hFEsMsQ,5285
|
|
23
23
|
kubernator/plugins/terragrunt.py,sha256=-qN8tTqPUXJ9O7CEiJVUB0GSUQU3DUTkv-aWdIIsm7Q,5051
|
|
24
|
-
kubernator-1.0.
|
|
25
|
-
kubernator-1.0.
|
|
26
|
-
kubernator-1.0.
|
|
27
|
-
kubernator-1.0.
|
|
28
|
-
kubernator-1.0.
|
|
29
|
-
kubernator-1.0.
|
|
30
|
-
kubernator-1.0.
|
|
24
|
+
kubernator-1.0.16.dev20240502034800.dist-info/METADATA,sha256=kT3jg72e_s-eJPj5vz_iY141-LvE8kR-0J9w3hvOG_g,10519
|
|
25
|
+
kubernator-1.0.16.dev20240502034800.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
26
|
+
kubernator-1.0.16.dev20240502034800.dist-info/entry_points.txt,sha256=IWDtHzyTleRqDSuVRXEr5GImrI7z_kh21t5DWZ8ldcQ,47
|
|
27
|
+
kubernator-1.0.16.dev20240502034800.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
28
|
+
kubernator-1.0.16.dev20240502034800.dist-info/top_level.txt,sha256=_z1CxWeKMI55ckf2vC8HqjbCn_E2Y_P5RdrhE_QWcIs,11
|
|
29
|
+
kubernator-1.0.16.dev20240502034800.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
30
|
+
kubernator-1.0.16.dev20240502034800.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|