kubernator 1.0.20.dev20250519050248__py3-none-any.whl → 1.0.21.dev20250528230808__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/plugins/k8s_api.py +4 -8
- {kubernator-1.0.20.dev20250519050248.dist-info → kubernator-1.0.21.dev20250528230808.dist-info}/METADATA +1 -2
- {kubernator-1.0.20.dev20250519050248.dist-info → kubernator-1.0.21.dev20250528230808.dist-info}/RECORD +9 -9
- {kubernator-1.0.20.dev20250519050248.dist-info → kubernator-1.0.21.dev20250528230808.dist-info}/WHEEL +1 -1
- {kubernator-1.0.20.dev20250519050248.dist-info → kubernator-1.0.21.dev20250528230808.dist-info}/entry_points.txt +0 -0
- {kubernator-1.0.20.dev20250519050248.dist-info → kubernator-1.0.21.dev20250528230808.dist-info}/namespace_packages.txt +0 -0
- {kubernator-1.0.20.dev20250519050248.dist-info → kubernator-1.0.21.dev20250528230808.dist-info}/top_level.txt +0 -0
- {kubernator-1.0.20.dev20250519050248.dist-info → kubernator-1.0.21.dev20250528230808.dist-info}/zip-safe +0 -0
kubernator/__init__.py
CHANGED
kubernator/plugins/k8s_api.py
CHANGED
|
@@ -31,7 +31,7 @@ import yaml
|
|
|
31
31
|
from jsonschema._format import FormatChecker
|
|
32
32
|
from jsonschema._keywords import required
|
|
33
33
|
from jsonschema.exceptions import ValidationError
|
|
34
|
-
from jsonschema.validators import extend, Draft7Validator
|
|
34
|
+
from jsonschema.validators import extend, Draft7Validator
|
|
35
35
|
from openapi_schema_validator import OAS31Validator
|
|
36
36
|
|
|
37
37
|
from kubernator.api import load_file, FileType, load_remote_file, calling_frame_source
|
|
@@ -147,10 +147,6 @@ def check_int_or_string(value):
|
|
|
147
147
|
return check_int32(value) if is_integer(value) else is_string(value)
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
# def make_api_version(group, version):
|
|
151
|
-
# return f"{group}/{version}" if group else version
|
|
152
|
-
|
|
153
|
-
|
|
154
150
|
def to_group_and_version(api_version):
|
|
155
151
|
group, _, version = api_version.partition("/")
|
|
156
152
|
if not version:
|
|
@@ -662,10 +658,8 @@ class K8SResourcePluginMixin:
|
|
|
662
658
|
yield error
|
|
663
659
|
else:
|
|
664
660
|
rdef = error
|
|
665
|
-
# schema = ChainMap(manifest, self.resource_definitions_schema)
|
|
666
661
|
k8s_validator = K8SValidator(rdef.schema,
|
|
667
|
-
format_checker=k8s_format_checker
|
|
668
|
-
resolver=RefResolver.from_schema(self.resource_definitions_schema))
|
|
662
|
+
format_checker=k8s_format_checker)
|
|
669
663
|
yield from k8s_validator.iter_errors(manifest)
|
|
670
664
|
|
|
671
665
|
def _get_manifest_rdef(self, manifest):
|
|
@@ -743,6 +737,8 @@ class K8SResourcePluginMixin:
|
|
|
743
737
|
rdef_paths[path] = actions
|
|
744
738
|
|
|
745
739
|
for k, schema in k8s_def["definitions"].items():
|
|
740
|
+
# This short-circuits the resolution of the references to the top of the document
|
|
741
|
+
schema["definitions"] = k8s_def["definitions"]
|
|
746
742
|
for key in k8s_resource_def_key(schema):
|
|
747
743
|
for rdef in K8SResourceDef.from_manifest(key, schema, self.resource_paths):
|
|
748
744
|
self.resource_definitions[key] = rdef
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kubernator
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.21.dev20250528230808
|
|
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.
|
|
@@ -45,7 +45,6 @@ Requires-Dist: kubernetes~=32.0
|
|
|
45
45
|
Requires-Dist: openapi-schema-validator~=0.1
|
|
46
46
|
Requires-Dist: openapi-spec-validator~=0.3
|
|
47
47
|
Requires-Dist: platformdirs~=4.2
|
|
48
|
-
Requires-Dist: referencing~=0.36.2
|
|
49
48
|
Requires-Dist: requests<=2.31.0
|
|
50
49
|
Dynamic: author
|
|
51
50
|
Dynamic: classifier
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
kubernator/LICENSE,sha256=wKKdOCMTCPQRV5gDkVLAsXX8qSnRJ5owk7yWPO1KZNo,11387
|
|
2
|
-
kubernator/__init__.py,sha256=
|
|
2
|
+
kubernator/__init__.py,sha256=6ClLvaPNEsotcD52r8d4zBWGcBBVaaT-MbAKrgeX4Wg,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
|
|
@@ -13,7 +13,7 @@ kubernator/plugins/eks.py,sha256=xe7vyPHNwuP8gEYDSzPyBkm-RkAtP64wCOqs9U5I7xI,227
|
|
|
13
13
|
kubernator/plugins/helm.py,sha256=R5hrDDhQ8b5BYYswvxJaM9-KsHKWPBKqHVtTRa1eSuA,11122
|
|
14
14
|
kubernator/plugins/istio.py,sha256=oERwbVtIk9vMJp_miBXK3-XJKF6SDbh6PPe0p3QIekY,14924
|
|
15
15
|
kubernator/plugins/k8s.py,sha256=Zj3q_bUmbOADfjSHy2X0BhgrbXuH-fM8Vq75sYFy0nE,24496
|
|
16
|
-
kubernator/plugins/k8s_api.py,sha256=
|
|
16
|
+
kubernator/plugins/k8s_api.py,sha256=PDa7MB9q3WMm_9tr8T6LY_ojrHpyGYiNTlvBZinbgFY,27379
|
|
17
17
|
kubernator/plugins/kops.py,sha256=QsrQJUF6wGJo2QRVqP92pG5vmOTYQIc25PD_DWCzrAA,9635
|
|
18
18
|
kubernator/plugins/kubeconfig.py,sha256=uwtHmF2I6LiTPrC3M88G5SfYxDWtuh0MqcMfrHHoNRA,2178
|
|
19
19
|
kubernator/plugins/kubectl.py,sha256=IgNghW1Q6s8V2o08eNY2NWfkkdV9Z6X2A3YFQinFr4g,4028
|
|
@@ -21,10 +21,10 @@ kubernator/plugins/minikube.py,sha256=FFGW8Rkap4CPEydEgxXhIuK3A263khjli0adC5j09M
|
|
|
21
21
|
kubernator/plugins/template.py,sha256=542nyS4ZNgdwJHEoIA5aLP1d4C312ydd7sPM9ZFbHuI,8357
|
|
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.21.dev20250528230808.dist-info/METADATA,sha256=k8c4swQKrnr37T2muhR8-B1p6ri7gIyrwVmzD63bZFY,10869
|
|
25
|
+
kubernator-1.0.21.dev20250528230808.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
26
|
+
kubernator-1.0.21.dev20250528230808.dist-info/entry_points.txt,sha256=IWDtHzyTleRqDSuVRXEr5GImrI7z_kh21t5DWZ8ldcQ,47
|
|
27
|
+
kubernator-1.0.21.dev20250528230808.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
28
|
+
kubernator-1.0.21.dev20250528230808.dist-info/top_level.txt,sha256=_z1CxWeKMI55ckf2vC8HqjbCn_E2Y_P5RdrhE_QWcIs,11
|
|
29
|
+
kubernator-1.0.21.dev20250528230808.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
30
|
+
kubernator-1.0.21.dev20250528230808.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|