qontract-reconcile 0.10.2.dev305__py3-none-any.whl → 0.10.2.dev306__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.2.dev305.dist-info → qontract_reconcile-0.10.2.dev306.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev305.dist-info → qontract_reconcile-0.10.2.dev306.dist-info}/RECORD +6 -6
- reconcile/rhidp/common.py +2 -0
- reconcile/utils/ocm/base.py +10 -0
- {qontract_reconcile-0.10.2.dev305.dist-info → qontract_reconcile-0.10.2.dev306.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev305.dist-info → qontract_reconcile-0.10.2.dev306.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev305.dist-info → qontract_reconcile-0.10.2.dev306.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.2.
|
3
|
+
Version: 0.10.2.dev306
|
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
|
{qontract_reconcile-0.10.2.dev305.dist-info → qontract_reconcile-0.10.2.dev306.dist-info}/RECORD
RENAMED
@@ -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=
|
461
|
+
reconcile/rhidp/common.py,sha256=MIOzjObdvDtZuLvrYBp2GhvPfRp6p-Lohbr_hgEsNYM,7025
|
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
|
@@ -721,7 +721,7 @@ reconcile/utils/mr/update_access_report_base.py,sha256=LOXTIonpfxXrvZI9nPqkszW3O
|
|
721
721
|
reconcile/utils/mr/user_maintenance.py,sha256=OC9-3YkpXsYKZGsdOdx-NLq7AkjgrhDR2JL7hov7BV8,5669
|
722
722
|
reconcile/utils/ocm/__init__.py,sha256=Y-bp8GomMpyCo0tFW6kJ78-ZG1UIupYRtBzbMWU0kwM,798
|
723
723
|
reconcile/utils/ocm/addons.py,sha256=_LDdJ-gapM3s5exKlIUt-MlXZTAUoHezbYBU0QmvfWQ,7335
|
724
|
-
reconcile/utils/ocm/base.py,sha256=
|
724
|
+
reconcile/utils/ocm/base.py,sha256=sy8mD9srj5dJjRIk8u8RRmj_D7h4MnpxtZwm4S4BWf8,14883
|
725
725
|
reconcile/utils/ocm/cluster_groups.py,sha256=F8oqVqN_4QUnGL0K61zZhoYIzJeP57EcmZpwmoV0mr4,1751
|
726
726
|
reconcile/utils/ocm/clusters.py,sha256=ev-sT247P3qFs9wzxOs_xFj1vKGpdRYm4INgxTR3Fb0,7792
|
727
727
|
reconcile/utils/ocm/identity_providers.py,sha256=dKed09N8iWmn39tI_MpwgVe47x23eLsknGbjMUxtwr4,2175
|
@@ -796,7 +796,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
796
796
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=uQv2QJAmUXP1g2GPIH30WTlvL9soY6m9lefpZEVDM5w,3965
|
797
797
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
798
798
|
tools/sre_checkpoints/util.py,sha256=KcYVfa3UmJHVP_ocgrKe8NkrO5IDB9aWEDydSokPcRk,975
|
799
|
-
qontract_reconcile-0.10.2.
|
800
|
-
qontract_reconcile-0.10.2.
|
801
|
-
qontract_reconcile-0.10.2.
|
802
|
-
qontract_reconcile-0.10.2.
|
799
|
+
qontract_reconcile-0.10.2.dev306.dist-info/METADATA,sha256=Cx95zCcVgBXYiv2FQXbJOyJ-SCeSI75Q8VDK2I8x5pU,24916
|
800
|
+
qontract_reconcile-0.10.2.dev306.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
801
|
+
qontract_reconcile-0.10.2.dev306.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
802
|
+
qontract_reconcile-0.10.2.dev306.dist-info/RECORD,,
|
reconcile/rhidp/common.py
CHANGED
@@ -140,6 +140,8 @@ def build_cluster_objects(
|
|
140
140
|
for cluster in cluster_details
|
141
141
|
# we can't calculate the redirect url w/o a console url
|
142
142
|
if cluster.ocm_cluster.console
|
143
|
+
# we can't configure an identity provider if external auth is enabled
|
144
|
+
and not cluster.ocm_cluster.external_auth_enabled
|
143
145
|
]
|
144
146
|
|
145
147
|
|
reconcile/utils/ocm/base.py
CHANGED
@@ -215,6 +215,10 @@ class OCMExternalConfiguration(BaseModel):
|
|
215
215
|
syncsets: dict
|
216
216
|
|
217
217
|
|
218
|
+
class OCMExternalAuthConfig(BaseModel):
|
219
|
+
enabled: bool
|
220
|
+
|
221
|
+
|
218
222
|
PRODUCT_ID_OSD = "osd"
|
219
223
|
PRODUCT_ID_ROSA = "rosa"
|
220
224
|
|
@@ -274,6 +278,8 @@ class OCMCluster(BaseModel):
|
|
274
278
|
|
275
279
|
external_configuration: OCMExternalConfiguration | None
|
276
280
|
|
281
|
+
external_auth_config: OCMExternalAuthConfig | None
|
282
|
+
|
277
283
|
def minor_version(self) -> str:
|
278
284
|
version_info = parse_semver(self.version.raw_id)
|
279
285
|
return f"{version_info.major}.{version_info.minor}"
|
@@ -315,6 +321,10 @@ class OCMCluster(BaseModel):
|
|
315
321
|
def base_domain(self) -> str | None:
|
316
322
|
return self.dns.base_domain if self.dns else None
|
317
323
|
|
324
|
+
@property
|
325
|
+
def external_auth_enabled(self) -> bool:
|
326
|
+
return self.external_auth_config.enabled if self.external_auth_config else False
|
327
|
+
|
318
328
|
|
319
329
|
class OCMLabel(BaseModel):
|
320
330
|
"""
|
{qontract_reconcile-0.10.2.dev305.dist-info → qontract_reconcile-0.10.2.dev306.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|