qontract-reconcile 0.9.1rc89__py3-none-any.whl → 0.9.1rc91__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.
- {qontract_reconcile-0.9.1rc89.dist-info → qontract_reconcile-0.9.1rc91.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.9.1rc89.dist-info → qontract_reconcile-0.9.1rc91.dist-info}/RECORD +6 -6
- reconcile/utils/oc.py +16 -3
- {qontract_reconcile-0.9.1rc89.dist-info → qontract_reconcile-0.9.1rc91.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.9.1rc89.dist-info → qontract_reconcile-0.9.1rc91.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.9.1rc89.dist-info → qontract_reconcile-0.9.1rc91.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.1rc91
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Home-page: https://github.com/app-sre/qontract-reconcile
|
6
6
|
Author: Red Hat App-SRE Team
|
@@ -395,7 +395,7 @@ reconcile/utils/ldap_client.py,sha256=atreTLA1f7gnG54Ub3JWkToP9tCwAci-q17dqB5XSh
|
|
395
395
|
reconcile/utils/lean_terraform_client.py,sha256=PJio087h5zUoievA3SppDP_io6ypiS9refaN5Hpm1Dg,1055
|
396
396
|
reconcile/utils/make.py,sha256=QaEwucrzbl8-VHS66Wfdjfo0ubmAcvt_hZGpiGsKU50,231
|
397
397
|
reconcile/utils/metrics.py,sha256=7DO12hEJ7sNOjrTNmA24l5wmAe4MT0WgY-Y2iPhBgXI,2015
|
398
|
-
reconcile/utils/oc.py,sha256=
|
398
|
+
reconcile/utils/oc.py,sha256=142wodk2C-z-jwOHMVDbEeSAhcK1TqIo4If6HwoQmDg,67876
|
399
399
|
reconcile/utils/oc_connection_parameters.py,sha256=J0Mdkg4A0bYju3P5fbiCGuGnxg5MG9-q49tVfUAgyHA,8198
|
400
400
|
reconcile/utils/oc_map.py,sha256=Lj1Q10PumQF7Bp_qUlTS2d24OJa8bRY-g9wKM0OZbY0,10540
|
401
401
|
reconcile/utils/ocm.py,sha256=203pZ7-ChbgjuXJLtM8Jt6tQt23F9wzGsqkbwM5r6A8,64811
|
@@ -467,8 +467,8 @@ tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y
|
|
467
467
|
tools/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
468
468
|
tools/test/test_qontract_cli.py,sha256=taXJPi2yJrV5ql6G3IivU3Lj5mNXje-nUEjp6uXa1oc,1396
|
469
469
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
470
|
-
qontract_reconcile-0.9.
|
471
|
-
qontract_reconcile-0.9.
|
472
|
-
qontract_reconcile-0.9.
|
473
|
-
qontract_reconcile-0.9.
|
474
|
-
qontract_reconcile-0.9.
|
470
|
+
qontract_reconcile-0.9.1rc91.dist-info/METADATA,sha256=VTRXsP6cuQZmXvvfdZKIbVXVpaR1UhRdcN5ujNGOQC8,2256
|
471
|
+
qontract_reconcile-0.9.1rc91.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
472
|
+
qontract_reconcile-0.9.1rc91.dist-info/entry_points.txt,sha256=3BPvsRryM1C4S_mb5kXmP5AVv-wJBzVCrOJyv6qUmc0,195
|
473
|
+
qontract_reconcile-0.9.1rc91.dist-info/top_level.txt,sha256=j0CHPIc8TsVRB50wOz_jhxjjaRyCJB3NOQeXhuHS67c,34
|
474
|
+
qontract_reconcile-0.9.1rc91.dist-info/RECORD,,
|
reconcile/utils/oc.py
CHANGED
@@ -730,7 +730,6 @@ class OCDeprecated: # pylint: disable=too-many-public-methods
|
|
730
730
|
d = self.api_resources.setdefault(kind, [])
|
731
731
|
d.append(obj)
|
732
732
|
|
733
|
-
self.api_resources = [r.split()[-1] for r in results]
|
734
733
|
return self.api_resources
|
735
734
|
|
736
735
|
def get_version(self):
|
@@ -1137,9 +1136,13 @@ class OCDeprecated: # pylint: disable=too-many-public-methods
|
|
1137
1136
|
return out_json
|
1138
1137
|
|
1139
1138
|
def _parse_kind(self, kind_name):
|
1139
|
+
# This is a provisional solution while we work in redefining
|
1140
|
+
# the api resources initialization.
|
1141
|
+
if not self.api_resources:
|
1142
|
+
self.get_api_resources()
|
1143
|
+
|
1140
1144
|
kind_group = kind_name.split(".", 1)
|
1141
1145
|
kind = kind_group[0]
|
1142
|
-
# if kind in self.api_kind_version:
|
1143
1146
|
if kind in self.api_resources:
|
1144
1147
|
group_version = self.api_resources[kind][0].group_version
|
1145
1148
|
else:
|
@@ -1167,6 +1170,11 @@ class OCDeprecated: # pylint: disable=too-many-public-methods
|
|
1167
1170
|
return (kind, group_version)
|
1168
1171
|
|
1169
1172
|
def is_kind_supported(self, kind: str) -> bool:
|
1173
|
+
# This is a provisional solution while we work in redefining
|
1174
|
+
# the api resources initialization.
|
1175
|
+
if not self.api_resources:
|
1176
|
+
self.get_api_resources()
|
1177
|
+
|
1170
1178
|
if "." in kind:
|
1171
1179
|
try:
|
1172
1180
|
self._parse_kind(kind)
|
@@ -1174,9 +1182,14 @@ class OCDeprecated: # pylint: disable=too-many-public-methods
|
|
1174
1182
|
except StatusCodeError:
|
1175
1183
|
return False
|
1176
1184
|
else:
|
1177
|
-
return kind in self.
|
1185
|
+
return kind in self.api_resources
|
1178
1186
|
|
1179
1187
|
def is_kind_namespaced(self, kind: str) -> bool:
|
1188
|
+
# This is a provisional solution while we work in redefining
|
1189
|
+
# the api resources initialization.
|
1190
|
+
if not self.api_resources:
|
1191
|
+
self.get_api_resources()
|
1192
|
+
|
1180
1193
|
kg = kind.split(".", 1)
|
1181
1194
|
kind = kg[0]
|
1182
1195
|
|
File without changes
|
{qontract_reconcile-0.9.1rc89.dist-info → qontract_reconcile-0.9.1rc91.dist-info}/entry_points.txt
RENAMED
File without changes
|
{qontract_reconcile-0.9.1rc89.dist-info → qontract_reconcile-0.9.1rc91.dist-info}/top_level.txt
RENAMED
File without changes
|