qontract-reconcile 0.10.1rc777__py3-none-any.whl → 0.10.1rc779__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.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc777
3
+ Version: 0.10.1rc779
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
@@ -635,7 +635,7 @@ reconcile/utils/make.py,sha256=QaEwucrzbl8-VHS66Wfdjfo0ubmAcvt_hZGpiGsKU50,231
635
635
  reconcile/utils/metrics.py,sha256=ot4dBO-KLZRowvNozm7jG0RWjcVsH1SL-lQ0jJgBBZM,18645
636
636
  reconcile/utils/models.py,sha256=It_Q1WNIvw_EDCsiSWzIgpSPr_X9jMgbJI-DR3N23xY,4677
637
637
  reconcile/utils/oauth2_backend_application_session.py,sha256=6W16sMpnWEPFDUX7qi5Cui2yOnmLfpgUxWtB3Ii35D0,4177
638
- reconcile/utils/oc.py,sha256=ZA2RwR7UcLzhvRKUoFt0knhizl7wm-4WpZyT4N48ntg,65564
638
+ reconcile/utils/oc.py,sha256=OB78zd4xzc80ZneENHEdVzeevFyq8a34hNmefwyBw6A,65612
639
639
  reconcile/utils/oc_connection_parameters.py,sha256=85slrnDigYwYmzhyceVkMElWzFArp4ge1d-fHXVqh0w,9729
640
640
  reconcile/utils/oc_filters.py,sha256=R2Lf3fo0jQCeE62Ygeo_KN24XbAosq0QbjimYG6qHI4,1402
641
641
  reconcile/utils/oc_map.py,sha256=nT69J5pdPeIDnIYjD9fwY6GkE3BMQCf-AF0rmHJuUNw,9068
@@ -750,7 +750,7 @@ reconcile/utils/runtime/sharding.py,sha256=roCdbnBklhTK_g34zbgQYqzpKPaNQ8J6Xd9XL
750
750
  reconcile/utils/saasherder/__init__.py,sha256=J3MBZBFa5YmhqYm08QsjBXz8mFcVOCiOCkyIcw41t7E,343
751
751
  reconcile/utils/saasherder/interfaces.py,sha256=XXY35h8VWQ66z3LBPxaoUAMkIW50264DQiecrzyV6oA,9076
752
752
  reconcile/utils/saasherder/models.py,sha256=1DKXUmiTS_MejUfSpFCeuBLMTgR4ldv2N1tAz8qHAwc,5547
753
- reconcile/utils/saasherder/saasherder.py,sha256=i15fDTccbSrOWlTPE35WAs8isnfeHYZf18vCMNc_794,86165
753
+ reconcile/utils/saasherder/saasherder.py,sha256=LHvW9F1sSgCB0zJ9AM-ROsEx96wpDwE78kLMj5LKZnM,86177
754
754
  reconcile/utils/terraform/__init__.py,sha256=zNbiyTWo35AT1sFTElL2j_AA0jJ_yWE_bfFn-nD2xik,250
755
755
  reconcile/utils/terraform/config.py,sha256=5UVrd563TMcvi4ooa5JvWVDW1I3bIWg484u79evfV_8,164
756
756
  reconcile/utils/terraform/config_client.py,sha256=py-Ree-QUYD6Hvng6bM40VgSuttteehIKNgwOSoJO1o,4706
@@ -785,8 +785,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
785
785
  tools/test/test_qontract_cli.py,sha256=w2l4BHB09k1d-BGJ1jBUNCqDv7zkqYrMHojQXg-21kQ,4155
786
786
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
787
787
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
788
- qontract_reconcile-0.10.1rc777.dist-info/METADATA,sha256=y8s0XFcnoAsVoxo2TqjHkrGZJJEhyXPUrVg8_-Q8h-w,2382
789
- qontract_reconcile-0.10.1rc777.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
790
- qontract_reconcile-0.10.1rc777.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
791
- qontract_reconcile-0.10.1rc777.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
792
- qontract_reconcile-0.10.1rc777.dist-info/RECORD,,
788
+ qontract_reconcile-0.10.1rc779.dist-info/METADATA,sha256=9ITUcekfuE2dkWTDDJIYzXki4OS3GFiBO7Mq2IgdWnI,2382
789
+ qontract_reconcile-0.10.1rc779.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
790
+ qontract_reconcile-0.10.1rc779.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
791
+ qontract_reconcile-0.10.1rc779.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
792
+ qontract_reconcile-0.10.1rc779.dist-info/RECORD,,
reconcile/utils/oc.py CHANGED
@@ -584,7 +584,7 @@ class OCCli: # pylint: disable=too-many-public-methods
584
584
  if not cascade:
585
585
  cmd.append("--cascade=orphan")
586
586
  self._run(cmd)
587
- resource = {"kind": kind, "metadata": {"name": name}}
587
+ resource = OR({"kind": kind, "metadata": {"name": name}}, "", "")
588
588
  return self._msg_to_process_reconcile_time(namespace, resource)
589
589
 
590
590
  @OCDecorators.process_reconcile_time
@@ -596,7 +596,7 @@ class OCCli: # pylint: disable=too-many-public-methods
596
596
  cmd = ["label"] + ns + [kind, name, overwrite_param]
597
597
  cmd.extend(added + removed)
598
598
  self._run(cmd)
599
- resource = {"kind": kind, "metadata": {"name": name}}
599
+ resource = OR({"kind": kind, "metadata": {"name": name}}, "", "")
600
600
  return self._msg_to_process_reconcile_time(namespace, resource)
601
601
 
602
602
  def project_exists(self, name):
@@ -627,7 +627,7 @@ class OCCli: # pylint: disable=too-many-public-methods
627
627
  raise e
628
628
 
629
629
  # This return will be removed by the last decorator
630
- resource = {"kind": "Namespace", "metadata": {"name": namespace}}
630
+ resource = OR({"kind": "Namespace", "metadata": {"name": namespace}}, "", "")
631
631
  return self._msg_to_process_reconcile_time(namespace, resource)
632
632
 
633
633
  @OCDecorators.process_reconcile_time
@@ -639,7 +639,7 @@ class OCCli: # pylint: disable=too-many-public-methods
639
639
  self._run(cmd)
640
640
 
641
641
  # This return will be removed by the last decorator
642
- resource = {"kind": "Namespace", "metadata": {"name": namespace}}
642
+ resource = OR({"kind": "Namespace", "metadata": {"name": namespace}}, "", "")
643
643
  return self._msg_to_process_reconcile_time(namespace, resource)
644
644
 
645
645
  def get_group_if_exists(self, name):
@@ -498,7 +498,7 @@ class SaasHerder: # pylint: disable=too-many-public-methods
498
498
  :return: (tkn_name, tkn_long_name)
499
499
  """
500
500
  tkn_long_name = f"{saas_file_name}-{env_name}"
501
- tkn_name = tkn_long_name[:UNIQUE_SAAS_FILE_ENV_COMBO_LEN]
501
+ tkn_name = tkn_long_name[:UNIQUE_SAAS_FILE_ENV_COMBO_LEN].rstrip("-")
502
502
  return tkn_name, tkn_long_name
503
503
 
504
504
  def _check_saas_file_env_combo_unique(