qontract-reconcile 0.10.1rc1075__py3-none-any.whl → 0.10.1rc1077__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.1rc1075
3
+ Version: 0.10.1rc1077
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
@@ -185,7 +185,7 @@ reconcile/dynatrace_token_provider/dependencies.py,sha256=FuRUnK18EyJIIgFwQBZSsk
185
185
  reconcile/dynatrace_token_provider/integration.py,sha256=Wgjv6UkMmPa8V0baHt0zk9sv5KENVeaStdIY1j7DKqE,26049
186
186
  reconcile/dynatrace_token_provider/metrics.py,sha256=oP-6NTZENFdvWiS0krnmX6tq3xyOzQ8e6vS0CZWYUuw,1496
187
187
  reconcile/dynatrace_token_provider/model.py,sha256=gkpqo5rRRueBXnIMjp4EEHqBUBuU65TRI8zpdb8GJ0A,241
188
- reconcile/dynatrace_token_provider/ocm.py,sha256=66XfJact_PZoa9c8Wz0t_n8N6aSMRQpfPLgKHYtWf8s,4307
188
+ reconcile/dynatrace_token_provider/ocm.py,sha256=MwYCZIxW4f-1jzFTxxN__sity6S8O7bbKUdyTFEVO7U,4325
189
189
  reconcile/dynatrace_token_provider/validate.py,sha256=40_9QmHoB3-KBc0k_0D4QO00PpNNPS-gU9Z6cIcWga8,1920
190
190
  reconcile/endpoints_discovery/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
191
191
  reconcile/endpoints_discovery/integration.py,sha256=q01DJgCv1YiDY-VUWDfQ5kfGm67BUhP-YP7c0JQObj8,12333
@@ -870,8 +870,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
870
870
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
871
871
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
872
872
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
873
- qontract_reconcile-0.10.1rc1075.dist-info/METADATA,sha256=rnY8-G-PjJIderhojfY3UzXfalPMSKmr6pqAZz4glL8,2213
874
- qontract_reconcile-0.10.1rc1075.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
875
- qontract_reconcile-0.10.1rc1075.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
876
- qontract_reconcile-0.10.1rc1075.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
877
- qontract_reconcile-0.10.1rc1075.dist-info/RECORD,,
873
+ qontract_reconcile-0.10.1rc1077.dist-info/METADATA,sha256=bJLx0VrFGijgrDJY3dSyvsOjYFXa2Eso9a29xaIXOXs,2213
874
+ qontract_reconcile-0.10.1rc1077.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
875
+ qontract_reconcile-0.10.1rc1077.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
876
+ qontract_reconcile-0.10.1rc1077.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
877
+ qontract_reconcile-0.10.1rc1077.dist-info/RECORD,,
@@ -34,8 +34,8 @@ from reconcile.utils.ocm_base_client import (
34
34
  Thin abstractions of reconcile.ocm module to reduce coupling.
35
35
  """
36
36
 
37
- DTP_LABEL = sre_capability_label_key("dtp", None)
38
37
  DTP_TENANT_LABEL = sre_capability_label_key("dtp", "tenant")
38
+ DTP_SPEC_LABEL = sre_capability_label_key("dtp", "token-spec")
39
39
  DTP_LABEL_SEARCH = sre_capability_label_key("dtp", "%")
40
40
 
41
41
 
@@ -50,7 +50,7 @@ class Cluster(BaseModel):
50
50
  @staticmethod
51
51
  def from_cluster_details(cluster: ClusterDetails) -> Cluster:
52
52
  dt_tenant = cluster.labels.get_label_value(DTP_TENANT_LABEL)
53
- token_spec_name = cluster.labels.get_label_value(DTP_LABEL)
53
+ token_spec_name = cluster.labels.get_label_value(DTP_SPEC_LABEL)
54
54
  if not token_spec_name:
55
55
  """
56
56
  We want to stay backwards compatible.