qontract-reconcile 0.10.2.dev214__py3-none-any.whl → 0.10.2.dev215__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qontract-reconcile
3
- Version: 0.10.2.dev214
3
+ Version: 0.10.2.dev215
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
6
6
  Project-URL: repository, https://github.com/app-sre/qontract-reconcile
@@ -72,7 +72,7 @@ reconcile/openshift_prometheus_rules.py,sha256=onowXab248zmHH8SbYDTc1W1bl7JiqRFU
72
72
  reconcile/openshift_resourcequotas.py,sha256=yUi56PiOn3inMMfq_x_FEHmaW-reGipzoorjdar372g,2415
73
73
  reconcile/openshift_resources.py,sha256=I2nO_C37mG3rfyGrd4cGwN3mVseVGuTAHAyhFzLyqF4,1518
74
74
  reconcile/openshift_resources_base.py,sha256=fogdGOnAk-8xK7z9UeLs1rT2IwDs6Q7jSx_iOVAWDLk,42316
75
- reconcile/openshift_rhcs_certs.py,sha256=1HfQRMAftafQzJTAUKz98WhIbNR5SC9iCD-C92HZV_4,9932
75
+ reconcile/openshift_rhcs_certs.py,sha256=obaklp0i-FsmFhY6y7K4bGHKkAUbb86GqqEaYrBo9-4,9985
76
76
  reconcile/openshift_rolebindings.py,sha256=9mlJ2FjWUoH-rsjtasreA_hV-K5Z_YR00qR_RR60OZM,6555
77
77
  reconcile/openshift_routes.py,sha256=fXvuPSjcjVw1X3j2EQvUAdbOepmIFdKk-M3qP8QzPiw,1075
78
78
  reconcile/openshift_saas_deploy.py,sha256=T1dvb9zajisaJNjbnR6-AZHU-itscHtr4oCqLj8KCK0,13037
@@ -815,7 +815,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
815
815
  tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
816
816
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
817
817
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
818
- qontract_reconcile-0.10.2.dev214.dist-info/METADATA,sha256=v5PuwHiAY6FhlSgoeJwmibmuBtdVMx9AvVe1IklU6Wo,24555
819
- qontract_reconcile-0.10.2.dev214.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
820
- qontract_reconcile-0.10.2.dev214.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
821
- qontract_reconcile-0.10.2.dev214.dist-info/RECORD,,
818
+ qontract_reconcile-0.10.2.dev215.dist-info/METADATA,sha256=eO0xdvozZfNDwA4bfN9XBLSzpugYivijlIyx9WixIAk,24555
819
+ qontract_reconcile-0.10.2.dev215.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
820
+ qontract_reconcile-0.10.2.dev215.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
821
+ qontract_reconcile-0.10.2.dev215.dist-info/RECORD,,
@@ -243,6 +243,7 @@ def run(
243
243
  internal: bool | None = None,
244
244
  use_jump_host: bool = True,
245
245
  cluster_name: Iterable[str] | None = None,
246
+ defer: Callable | None = None,
246
247
  ) -> None:
247
248
  gql_api = gql.get_api()
248
249
  vault_settings = get_app_interface_vault_settings()
@@ -261,7 +262,8 @@ def run(
261
262
  use_jump_host=use_jump_host,
262
263
  thread_pool_size=thread_pool_size,
263
264
  )
264
- defer(oc_map.cleanup)
265
+ if defer:
266
+ defer(oc_map.cleanup)
265
267
  ri = ResourceInventory()
266
268
  state_specs = ob.init_specs_to_fetch(
267
269
  ri,