qontract-reconcile 0.10.1rc859__py3-none-any.whl → 0.10.1rc860__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.10.1rc859.dist-info → qontract_reconcile-0.10.1rc860.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc859.dist-info → qontract_reconcile-0.10.1rc860.dist-info}/RECORD +6 -6
- reconcile/openshift_resources_base.py +21 -1
- {qontract_reconcile-0.10.1rc859.dist-info → qontract_reconcile-0.10.1rc860.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc859.dist-info → qontract_reconcile-0.10.1rc860.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc859.dist-info → qontract_reconcile-0.10.1rc860.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc859.dist-info → qontract_reconcile-0.10.1rc860.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.1rc860
|
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
|
{qontract_reconcile-0.10.1rc859.dist-info → qontract_reconcile-0.10.1rc860.dist-info}/RECORD
RENAMED
@@ -71,7 +71,7 @@ reconcile/openshift_namespaces.py,sha256=nHW1e3dyUWw3JPAzeQeZQ6s2-RuQYaNR7_DUfTP
|
|
71
71
|
reconcile/openshift_network_policies.py,sha256=_qqv7yj17OM1J8KJPsFmzFZ85gzESJeBocC672z4_WU,4231
|
72
72
|
reconcile/openshift_resourcequotas.py,sha256=yUi56PiOn3inMMfq_x_FEHmaW-reGipzoorjdar372g,2415
|
73
73
|
reconcile/openshift_resources.py,sha256=WPnSTftrCCHaCDfwSD0CLvs-7GQqay5B7AtM6Swxy7c,1537
|
74
|
-
reconcile/openshift_resources_base.py,sha256=
|
74
|
+
reconcile/openshift_resources_base.py,sha256=1ItnO5hq31PnfvrLBxf30ln_keBZcRiLCKcHfmUhYrQ,40826
|
75
75
|
reconcile/openshift_rolebindings.py,sha256=LlImloBisEqzc36jaatic-TeM3hzqMEfxogF-dM4Yhw,6599
|
76
76
|
reconcile/openshift_routes.py,sha256=fXvuPSjcjVw1X3j2EQvUAdbOepmIFdKk-M3qP8QzPiw,1075
|
77
77
|
reconcile/openshift_saas_deploy.py,sha256=fmhopPEbyZsGQHRPzyzpKEvoBXEGN3aPxFi7Utq0emU,12788
|
@@ -834,8 +834,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
|
|
834
834
|
tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jrss,4941
|
835
835
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
836
836
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
837
|
-
qontract_reconcile-0.10.
|
838
|
-
qontract_reconcile-0.10.
|
839
|
-
qontract_reconcile-0.10.
|
840
|
-
qontract_reconcile-0.10.
|
841
|
-
qontract_reconcile-0.10.
|
837
|
+
qontract_reconcile-0.10.1rc860.dist-info/METADATA,sha256=4f-gD89LH7FTMjujTGPqMsutWxeDQjvCtGKYLLDvlKY,2273
|
838
|
+
qontract_reconcile-0.10.1rc860.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
839
|
+
qontract_reconcile-0.10.1rc860.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
840
|
+
qontract_reconcile-0.10.1rc860.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
841
|
+
qontract_reconcile-0.10.1rc860.dist-info/RECORD,,
|
@@ -1203,6 +1203,7 @@ def early_exit_monkey_patch() -> Generator:
|
|
1203
1203
|
url_makes_sense=DEFAULT,
|
1204
1204
|
lookup_s3_object=DEFAULT,
|
1205
1205
|
) as mocks:
|
1206
|
+
# mock lookup_secret
|
1206
1207
|
mocks["lookup_secret"].side_effect = (
|
1207
1208
|
lambda path,
|
1208
1209
|
key,
|
@@ -1212,6 +1213,11 @@ def early_exit_monkey_patch() -> Generator:
|
|
1212
1213
|
settings=None,
|
1213
1214
|
secret_reader=None: f"vault({path}, {key}, {version}"
|
1214
1215
|
)
|
1216
|
+
# needed for jinja2 `is_safe_callable`
|
1217
|
+
mocks["lookup_secret"].unsafe_callable = False
|
1218
|
+
mocks["lookup_secret"].alters_data = False
|
1219
|
+
|
1220
|
+
# mock lookup_github_file_content
|
1215
1221
|
mocks["lookup_github_file_content"].side_effect = (
|
1216
1222
|
lambda repo,
|
1217
1223
|
path,
|
@@ -1220,13 +1226,27 @@ def early_exit_monkey_patch() -> Generator:
|
|
1220
1226
|
settings=None,
|
1221
1227
|
secret_reader=None: f"github({repo}, {path}, {ref})"
|
1222
1228
|
)
|
1223
|
-
|
1229
|
+
# needed for jinja2 `is_safe_callable`
|
1230
|
+
mocks["lookup_github_file_content"].unsafe_callable = False
|
1231
|
+
mocks["lookup_github_file_content"].alters_data = False
|
1232
|
+
|
1233
|
+
# mock url_makes_sense
|
1234
|
+
mocks["url_makes_sense"].side_effect = lambda url: False
|
1235
|
+
# needed for jinja2 `is_safe_callable`
|
1236
|
+
mocks["url_makes_sense"].unsafe_callable = False
|
1237
|
+
mocks["url_makes_sense"].alters_data = False
|
1238
|
+
|
1239
|
+
# mock lookup_s3_object
|
1224
1240
|
mocks["lookup_s3_object"].side_effect = (
|
1225
1241
|
lambda account_name,
|
1226
1242
|
bucket_name,
|
1227
1243
|
path,
|
1228
1244
|
region_name=None: f"lookup_s3_object({account_name}, {bucket_name}, {path}, {region_name})"
|
1229
1245
|
)
|
1246
|
+
# needed for jinja2 `is_safe_callable`
|
1247
|
+
mocks["lookup_s3_object"].unsafe_callable = False
|
1248
|
+
mocks["lookup_s3_object"].alters_data = False
|
1249
|
+
|
1230
1250
|
with patch(
|
1231
1251
|
"reconcile.openshift_resources_base.check_alertmanager_config",
|
1232
1252
|
return_value=True,
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc859.dist-info → qontract_reconcile-0.10.1rc860.dist-info}/top_level.txt
RENAMED
File without changes
|