qontract-reconcile 0.10.2.dev189__py3-none-any.whl → 0.10.2.dev190__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.dev189.dist-info → qontract_reconcile-0.10.2.dev190.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev189.dist-info → qontract_reconcile-0.10.2.dev190.dist-info}/RECORD +6 -6
- tools/cli_commands/container_images_report.py +4 -4
- tools/qontract_cli.py +2 -2
- {qontract_reconcile-0.10.2.dev189.dist-info → qontract_reconcile-0.10.2.dev190.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev189.dist-info → qontract_reconcile-0.10.2.dev190.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev189.dist-info → qontract_reconcile-0.10.2.dev190.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.dev190
|
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.dev189.dist-info → qontract_reconcile-0.10.2.dev190.dist-info}/RECORD
RENAMED
@@ -783,10 +783,10 @@ tools/app_sre_tekton_access_reporter.py,sha256=o9prLUgQpwO3msRWc2as1xT1y9OB3znkp
|
|
783
783
|
tools/app_sre_tekton_access_revalidation.py,sha256=66nHEaY-bIqxIhpcmwN8AvQZu6ZXenfkg4Fut0pVZRM,2726
|
784
784
|
tools/glitchtip_access_reporter.py,sha256=o01A6b88t3Wie6tj_tJWWVo2J01LxQ_a9giGm4UzEaU,2901
|
785
785
|
tools/glitchtip_access_revalidation.py,sha256=PXN5wxl6OX8sxddPaakDF3X79nFLvpm-lz0mWLVelw0,2806
|
786
|
-
tools/qontract_cli.py,sha256=
|
786
|
+
tools/qontract_cli.py,sha256=kaKlRhxyqcK4wB454QyvMAY5BMIPMi_vRTLHhX_o954,159006
|
787
787
|
tools/template_validation.py,sha256=qpKYaTgk0GOPGa2Ct5_5sKdwIHtCAKIBGzsMPuJU5fw,3371
|
788
788
|
tools/cli_commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
789
|
-
tools/cli_commands/container_images_report.py,sha256=
|
789
|
+
tools/cli_commands/container_images_report.py,sha256=_8GuBsl_qYP5qfa5aa9krwyKHYu82MSh02deHEroSa4,5459
|
790
790
|
tools/cli_commands/erv2.py,sha256=WJgom7Fe2HuM31QKieYs_3evJuH7DEyd53sV-FKX7PU,26047
|
791
791
|
tools/cli_commands/gpg_encrypt.py,sha256=JWwds_Qg7KhSJMIGUh8TfI5-Jf17iUtmaEi4kWJxfVE,4907
|
792
792
|
tools/cli_commands/systems_and_tools.py,sha256=EMHOF1AtUDaoSk0bbjl6oUKYAz4rTZjIBaF-6E6GspM,16816
|
@@ -809,7 +809,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
809
809
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
|
810
810
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
811
811
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
812
|
-
qontract_reconcile-0.10.2.
|
813
|
-
qontract_reconcile-0.10.2.
|
814
|
-
qontract_reconcile-0.10.2.
|
815
|
-
qontract_reconcile-0.10.2.
|
812
|
+
qontract_reconcile-0.10.2.dev190.dist-info/METADATA,sha256=M8HNFaDsoe3dEbG8jlcNJGwc1jHGo6Epm75Tmwy7vi8,24555
|
813
|
+
qontract_reconcile-0.10.2.dev190.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
814
|
+
qontract_reconcile-0.10.2.dev190.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
815
|
+
qontract_reconcile-0.10.2.dev190.dist-info/RECORD,,
|
@@ -90,7 +90,7 @@ def fetch_pods_images_from_namespaces(
|
|
90
90
|
|
91
91
|
for name in ni.image_names or []:
|
92
92
|
result[name]["namespaces"].add(ni.namespace_name)
|
93
|
-
result[name]["
|
93
|
+
result[name]["namespace_apps"].add(ni.app_name)
|
94
94
|
result[name]["count"] += 1
|
95
95
|
|
96
96
|
exclude_pattern_compiled: re.Pattern | None = None
|
@@ -111,7 +111,7 @@ def fetch_pods_images_from_namespaces(
|
|
111
111
|
result_filtered_flattened.append({
|
112
112
|
"name": name,
|
113
113
|
"namespaces": ",".join(sorted(value["namespaces"])),
|
114
|
-
"
|
114
|
+
"namespace_apps": ",".join(sorted(value["namespace_apps"])),
|
115
115
|
"count": value["count"],
|
116
116
|
})
|
117
117
|
|
@@ -122,7 +122,7 @@ def fetch_pods_images_from_namespaces(
|
|
122
122
|
result_filtered_flattened.append({
|
123
123
|
"name": "error",
|
124
124
|
"namespaces": message,
|
125
|
-
"
|
125
|
+
"namespace_apps": "",
|
126
126
|
"count": count,
|
127
127
|
})
|
128
128
|
|
@@ -130,7 +130,7 @@ def fetch_pods_images_from_namespaces(
|
|
130
130
|
|
131
131
|
|
132
132
|
def _get_all_images_default() -> dict[str, Any]:
|
133
|
-
return {"namespaces": set(), "
|
133
|
+
return {"namespaces": set(), "namespace_apps": set(), "count": 0}
|
134
134
|
|
135
135
|
|
136
136
|
def _get_namespace_images(ns: NamespaceV1, oc_map: OCMap) -> NamespaceImages:
|
tools/qontract_cli.py
CHANGED
@@ -4601,7 +4601,7 @@ def container_images(
|
|
4601
4601
|
"fields": [
|
4602
4602
|
{"key": "name", "sortable": True},
|
4603
4603
|
{"key": "namespaces", "sortable": True},
|
4604
|
-
{"key": "
|
4604
|
+
{"key": "namespace_apps", "sortable": True},
|
4605
4605
|
{"key": "count", "sortable": True},
|
4606
4606
|
],
|
4607
4607
|
"items": results,
|
@@ -4622,7 +4622,7 @@ You can view the source of this Markdown to extract the JSON data.
|
|
4622
4622
|
columns = [
|
4623
4623
|
"name",
|
4624
4624
|
"namespaces",
|
4625
|
-
"
|
4625
|
+
"namespace_apps",
|
4626
4626
|
"count",
|
4627
4627
|
]
|
4628
4628
|
ctx.obj["options"]["sort"] = False
|
{qontract_reconcile-0.10.2.dev189.dist-info → qontract_reconcile-0.10.2.dev190.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|