kubernator 1.0.14__py3-none-any.whl → 1.0.14.dev20240324193630__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/istio.py +9 -5
- {kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/METADATA +1 -1
- {kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/RECORD +9 -9
- {kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/WHEEL +0 -0
- {kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/entry_points.txt +0 -0
- {kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/namespace_packages.txt +0 -0
- {kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/top_level.txt +0 -0
- {kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/zip-safe +0 -0
kubernator/__init__.py
CHANGED
kubernator/plugins/istio.py
CHANGED
|
@@ -134,6 +134,7 @@ class IstioPlugin(KubernatorPlugin, K8SResourcePluginMixin):
|
|
|
134
134
|
|
|
135
135
|
version, version_out_js = self.test_istioctl()
|
|
136
136
|
self.client_version = tuple(version.split("."))
|
|
137
|
+
client_version_numeric = tuple(map(int, self.client_version))
|
|
137
138
|
mesh_versions = set(tuple(m.value.split(".")) for m in MESH_PILOT_JP.find(version_out_js))
|
|
138
139
|
|
|
139
140
|
if mesh_versions:
|
|
@@ -149,9 +150,9 @@ class IstioPlugin(KubernatorPlugin, K8SResourcePluginMixin):
|
|
|
149
150
|
self.provision_operator = True
|
|
150
151
|
|
|
151
152
|
# Register Istio-related CRDs with K8S
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
url_prefix = (f"https://raw.githubusercontent.com/istio/istio/{'.'.join(self.client_version)}/"
|
|
154
|
+
"manifests/charts/base/crds")
|
|
155
|
+
self.context.k8s.load_remote_crds(f"{url_prefix}/crd-all.gen.yaml", "yaml")
|
|
155
156
|
|
|
156
157
|
# This plugin only deals with Istio Operator, so only load that stuff
|
|
157
158
|
self.resource_definitions_schema = load_remote_file(logger,
|
|
@@ -161,8 +162,11 @@ class IstioPlugin(KubernatorPlugin, K8SResourcePluginMixin):
|
|
|
161
162
|
FileType.JSON)
|
|
162
163
|
self._populate_resource_definitions()
|
|
163
164
|
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
if client_version_numeric < (1, 21):
|
|
166
|
+
self.add_remote_crds(f"{url_prefix}/crd-operator.yaml", FileType.YAML)
|
|
167
|
+
else:
|
|
168
|
+
self.add_remote_crds("https://raw.githubusercontent.com/istio/istio/release-1.20/manifests/charts/"
|
|
169
|
+
"base/crds/crd-operator.yaml", FileType.YAML)
|
|
166
170
|
|
|
167
171
|
# Exclude Istio YAMLs from K8S resource loading
|
|
168
172
|
context.k8s.default_excludes.add("*.istio.yaml")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
kubernator/LICENSE,sha256=wKKdOCMTCPQRV5gDkVLAsXX8qSnRJ5owk7yWPO1KZNo,11387
|
|
2
|
-
kubernator/__init__.py,sha256=
|
|
2
|
+
kubernator/__init__.py,sha256=DFe-583FGFSE4aP1hd78PgFHj3ZWgNphg02YOlSXf3E,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
|
|
@@ -11,7 +11,7 @@ kubernator/plugins/__init__.py,sha256=h9TLYK8UFEi53ipZSZsTBjp0ljKhisWsgPpt_PkWrO
|
|
|
11
11
|
kubernator/plugins/awscli.py,sha256=S6X7-qFiaZ7NDVDl2Jg0t-ih9KAJ45cUjjzd5Qe93ZM,4252
|
|
12
12
|
kubernator/plugins/eks.py,sha256=xe7vyPHNwuP8gEYDSzPyBkm-RkAtP64wCOqs9U5I7xI,2273
|
|
13
13
|
kubernator/plugins/helm.py,sha256=3BYZBPoiMUtNgmhdcbYCVRTPtaQMYzhfnMqXWyZRJZc,10525
|
|
14
|
-
kubernator/plugins/istio.py,sha256
|
|
14
|
+
kubernator/plugins/istio.py,sha256=-Q2wEHztx7BUZ8Koyg3rhZZS8NhE9hl25QWhZCYgtOw,10757
|
|
15
15
|
kubernator/plugins/k8s.py,sha256=w_Uw8tvbeGgJ35jZs6BahWkVIlX6gxcX5-bOskudIfw,23387
|
|
16
16
|
kubernator/plugins/k8s_api.py,sha256=w2aB7CU0rPqRgzhI5mLMJUUSpWlJGCsX_bHl4SjfzM8,27594
|
|
17
17
|
kubernator/plugins/kops.py,sha256=QsrQJUF6wGJo2QRVqP92pG5vmOTYQIc25PD_DWCzrAA,9635
|
|
@@ -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.14.dist-info/METADATA,sha256=
|
|
25
|
-
kubernator-1.0.14.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
26
|
-
kubernator-1.0.14.dist-info/entry_points.txt,sha256=IWDtHzyTleRqDSuVRXEr5GImrI7z_kh21t5DWZ8ldcQ,47
|
|
27
|
-
kubernator-1.0.14.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
28
|
-
kubernator-1.0.14.dist-info/top_level.txt,sha256=_z1CxWeKMI55ckf2vC8HqjbCn_E2Y_P5RdrhE_QWcIs,11
|
|
29
|
-
kubernator-1.0.14.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
30
|
-
kubernator-1.0.14.dist-info/RECORD,,
|
|
24
|
+
kubernator-1.0.14.dev20240324193630.dist-info/METADATA,sha256=A7Cjf2QDfxk3_VloKGZP6oMx987M9QIUIM3tAPHx458,10514
|
|
25
|
+
kubernator-1.0.14.dev20240324193630.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
26
|
+
kubernator-1.0.14.dev20240324193630.dist-info/entry_points.txt,sha256=IWDtHzyTleRqDSuVRXEr5GImrI7z_kh21t5DWZ8ldcQ,47
|
|
27
|
+
kubernator-1.0.14.dev20240324193630.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
28
|
+
kubernator-1.0.14.dev20240324193630.dist-info/top_level.txt,sha256=_z1CxWeKMI55ckf2vC8HqjbCn_E2Y_P5RdrhE_QWcIs,11
|
|
29
|
+
kubernator-1.0.14.dev20240324193630.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
30
|
+
kubernator-1.0.14.dev20240324193630.dist-info/RECORD,,
|
|
File without changes
|
{kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{kubernator-1.0.14.dist-info → kubernator-1.0.14.dev20240324193630.dist-info}/namespace_packages.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|