qontract-reconcile 0.10.2.dev62__py3-none-any.whl → 0.10.2.dev64__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.dev62.dist-info → qontract_reconcile-0.10.2.dev64.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev62.dist-info → qontract_reconcile-0.10.2.dev64.dist-info}/RECORD +6 -6
- reconcile/external_resources/reconciler.py +4 -0
- reconcile/utils/ocm/labels.py +12 -0
- {qontract_reconcile-0.10.2.dev62.dist-info → qontract_reconcile-0.10.2.dev64.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev62.dist-info → qontract_reconcile-0.10.2.dev64.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev62.dist-info → qontract_reconcile-0.10.2.dev64.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.dev64
|
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.dev62.dist-info → qontract_reconcile-0.10.2.dev64.dist-info}/RECORD
RENAMED
@@ -203,7 +203,7 @@ reconcile/external_resources/manager.py,sha256=ZagwLn6YQ1XmgmMN3qpuDzQsQxa4VOYl-
|
|
203
203
|
reconcile/external_resources/meta.py,sha256=noaytFzmShpzLA_ebGh7wuP45mOfHIOnnoUxivjDa1I,672
|
204
204
|
reconcile/external_resources/metrics.py,sha256=KiBjMUaN_z0cSkF_7Ar_a8RiuiwVqjyMcVdISlxhzXE,3898
|
205
205
|
reconcile/external_resources/model.py,sha256=dxwiyI3J9xyLeue8_W9NJoap-CkKLMAoY0S0ml5-NbU,13450
|
206
|
-
reconcile/external_resources/reconciler.py,sha256
|
206
|
+
reconcile/external_resources/reconciler.py,sha256=-0trp1K-iUgOQn3mm1ZUSmfaReRrUT0eHzPkUhNPolQ,9583
|
207
207
|
reconcile/external_resources/secrets_sync.py,sha256=50fK4fzgSz-K8uy5_DQQWA_ju_rTDYAC2HRymgfY7TA,16344
|
208
208
|
reconcile/external_resources/state.py,sha256=gF3ACdl7YiUlbQ4uEGrD6i_Txxqr6mT9f8IFlTQ-8dY,13176
|
209
209
|
reconcile/glitchtip/README.md,sha256=rfXT6jNP9khJW65jL7I2PgoxvxgcGGuJF8NpbzufEQ4,4335
|
@@ -707,7 +707,7 @@ reconcile/utils/ocm/cluster_groups.py,sha256=F8oqVqN_4QUnGL0K61zZhoYIzJeP57EcmZp
|
|
707
707
|
reconcile/utils/ocm/clusters.py,sha256=VwFucqOtXfHZABZLsMLxvAhBTwVg6h9L7WDDdJUaB1w,7962
|
708
708
|
reconcile/utils/ocm/identity_providers.py,sha256=dKed09N8iWmn39tI_MpwgVe47x23eLsknGbjMUxtwr4,2175
|
709
709
|
reconcile/utils/ocm/label_sources.py,sha256=ES_5VP4X6gsRxMFZ95WgbwE_HqqIUo_JRjHjdGYw6Ss,1846
|
710
|
-
reconcile/utils/ocm/labels.py,sha256=
|
710
|
+
reconcile/utils/ocm/labels.py,sha256=CmAgaOEPiaUb4gLtKab9vNkSDJceuREPd4ApgGcIA1U,6240
|
711
711
|
reconcile/utils/ocm/manifests.py,sha256=Q6kgOeiAwLbJY_vO_BEW2oePvbLDZcMZk20YpJJGpOA,1195
|
712
712
|
reconcile/utils/ocm/ocm.py,sha256=EwhCymt7r8cL8UF2XbwmQ6IiRE016AUuPEiMAtYMepE,36707
|
713
713
|
reconcile/utils/ocm/products.py,sha256=Ki9o0VV4z_FsXQaJtSFzlUnxLvpk1H-RamvJpUwwbuQ,26006
|
@@ -777,7 +777,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
777
777
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
|
778
778
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
779
779
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
780
|
-
qontract_reconcile-0.10.2.
|
781
|
-
qontract_reconcile-0.10.2.
|
782
|
-
qontract_reconcile-0.10.2.
|
783
|
-
qontract_reconcile-0.10.2.
|
780
|
+
qontract_reconcile-0.10.2.dev64.dist-info/METADATA,sha256=w1DVvEyO9I2lEXPv9LlbxwxJxqO9tZkUhzrD_jC9KE0,24665
|
781
|
+
qontract_reconcile-0.10.2.dev64.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
782
|
+
qontract_reconcile-0.10.2.dev64.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
783
|
+
qontract_reconcile-0.10.2.dev64.dist-info/RECORD,,
|
@@ -130,6 +130,10 @@ class ReconciliationK8sJob(K8sJob, BaseModel, frozen=True):
|
|
130
130
|
name="outputs",
|
131
131
|
image=self.reconciliation.module_configuration.outputs_secret_image_version,
|
132
132
|
image_pull_policy="Always",
|
133
|
+
resources=V1ResourceRequirements(
|
134
|
+
requests={"memory": "128Mi"},
|
135
|
+
limits={"memory": "128Mi"},
|
136
|
+
),
|
133
137
|
env=[
|
134
138
|
V1EnvVar(
|
135
139
|
name="NAMESPACE",
|
reconcile/utils/ocm/labels.py
CHANGED
@@ -202,3 +202,15 @@ def get_org_labels(
|
|
202
202
|
|
203
203
|
def build_organization_labels_href(org_id: str) -> str:
|
204
204
|
return f"/api/accounts_mgmt/v1/organizations/{org_id}/labels"
|
205
|
+
|
206
|
+
|
207
|
+
def get_cluster_labels_for_cluster_id(
|
208
|
+
ocm_api: OCMBaseClient,
|
209
|
+
id: str,
|
210
|
+
) -> dict[str, str]:
|
211
|
+
data = ocm_api.get(
|
212
|
+
api_path=f"/api/clusters_mgmt/v1/clusters/{id}/external_configuration/labels"
|
213
|
+
)
|
214
|
+
return {
|
215
|
+
key: d.get("value") for d in data.get("items") or [] if (key := d.get("key"))
|
216
|
+
}
|
{qontract_reconcile-0.10.2.dev62.dist-info → qontract_reconcile-0.10.2.dev64.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|