qontract-reconcile 0.10.2.dev270__py3-none-any.whl → 0.10.2.dev271__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.dev270
3
+ Version: 0.10.2.dev271
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
@@ -458,7 +458,7 @@ reconcile/oum/standalone.py,sha256=EN5y1S-3DwUZYzSRqRMtf63mI2slvBHKiU9zOTjYvWM,7
458
458
  reconcile/prometheus_rules_tester/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
459
459
  reconcile/prometheus_rules_tester/integration.py,sha256=TWsVBUeRLH3lUCf47sWWVgq4Rpkrq0i_eu2vkqQniP0,9619
460
460
  reconcile/rhidp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
461
- reconcile/rhidp/common.py,sha256=rqifpncnE5--sYSx7ERMGDUjNHRI-SZkpuzwepZSps4,6766
461
+ reconcile/rhidp/common.py,sha256=M5UP7_tNWh2LEJ-fMp1SnrNECGHJ0z873tANJK1dpWc,6889
462
462
  reconcile/rhidp/metrics.py,sha256=Yp0GtpjhieEdru0qkG3osBTJiKUzg6CAjwPoFTQDnCg,417
463
463
  reconcile/rhidp/ocm_oidc_idp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
464
464
  reconcile/rhidp/ocm_oidc_idp/base.py,sha256=gcrQEmHQ2GF2MtSxBcxTRsK-I19rsfIn9NZvyx8ZbyQ,7133
@@ -797,7 +797,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
797
797
  tools/saas_promotion_state/saas_promotion_state.py,sha256=oF7C4hpIgyMTwTRm3Aun3cDCHIjVar65JoLp6NcJHlU,3909
798
798
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
799
799
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
800
- qontract_reconcile-0.10.2.dev270.dist-info/METADATA,sha256=B-j3gLyk3BgjGR9nQzqFILIqRAQ5s9ZenI3eDAARGcA,24501
801
- qontract_reconcile-0.10.2.dev270.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
802
- qontract_reconcile-0.10.2.dev270.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
803
- qontract_reconcile-0.10.2.dev270.dist-info/RECORD,,
800
+ qontract_reconcile-0.10.2.dev271.dist-info/METADATA,sha256=RhSFBRasV17JdTb1fgSnlOvp891rFdL4vppQeCAwouc,24501
801
+ qontract_reconcile-0.10.2.dev271.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
802
+ qontract_reconcile-0.10.2.dev271.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
803
+ qontract_reconcile-0.10.2.dev271.dist-info/RECORD,,
reconcile/rhidp/common.py CHANGED
@@ -32,7 +32,10 @@ from reconcile.utils.ocm.clusters import (
32
32
  ClusterDetails,
33
33
  discover_clusters_by_labels,
34
34
  )
35
- from reconcile.utils.ocm.labels import subscription_label_filter
35
+ from reconcile.utils.ocm.labels import (
36
+ organization_label_filter,
37
+ subscription_label_filter,
38
+ )
36
39
  from reconcile.utils.ocm.sre_capability_labels import sre_capability_label_key
37
40
  from reconcile.utils.ocm_base_client import OCMBaseClient
38
41
 
@@ -105,7 +108,8 @@ def discover_clusters(
105
108
  ocm_api=ocm_api,
106
109
  label_filter=subscription_label_filter().like(
107
110
  "key", f"{RHIDP_NAMESPACE_LABEL_KEY}%"
108
- ),
111
+ )
112
+ | organization_label_filter().like("key", f"{RHIDP_NAMESPACE_LABEL_KEY}%"),
109
113
  )
110
114
 
111
115
  # filter by org if org_id is specified