qontract-reconcile 0.10.2.dev189__py3-none-any.whl → 0.10.2.dev191__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.dev191.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev189.dist-info → qontract_reconcile-0.10.2.dev191.dist-info}/RECORD +7 -7
- reconcile/gql_definitions/introspection.json +152 -0
- 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.dev191.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev189.dist-info → qontract_reconcile-0.10.2.dev191.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev189.dist-info → qontract_reconcile-0.10.2.dev191.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.dev191
|
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.dev191.dist-info}/RECORD
RENAMED
@@ -226,7 +226,7 @@ reconcile/glitchtip_project_alerts/integration.py,sha256=BgMx-NyV9mTuv7Sotb2OioC
|
|
226
226
|
reconcile/glitchtip_project_dsn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
227
227
|
reconcile/glitchtip_project_dsn/integration.py,sha256=2iugub-kHYkHNK33n0v9_TeWonuxCPah_VkoTPvaajE,8077
|
228
228
|
reconcile/gql_definitions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
229
|
-
reconcile/gql_definitions/introspection.json,sha256=
|
229
|
+
reconcile/gql_definitions/introspection.json,sha256=f7LtPBJlVNfTTlhQjVpp2D6-AF73BqYGoJ3afW8YtJ4,2322856
|
230
230
|
reconcile/gql_definitions/acs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
231
231
|
reconcile/gql_definitions/acs/acs_instances.py,sha256=L91WW9LbhJbBSrECqShQpFtjoBOsmNIYLRpMbx1io5o,2181
|
232
232
|
reconcile/gql_definitions/acs/acs_policies.py,sha256=Ygpfl2-VkYLSlJvHgp_dJBfb66K_Rwfdfpsa18w1v1s,4338
|
@@ -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.dev191.dist-info/METADATA,sha256=hkZlFU724NFRqRqkQbNqid1QOyAl1qh3yc5mEcTG964,24555
|
813
|
+
qontract_reconcile-0.10.2.dev191.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
814
|
+
qontract_reconcile-0.10.2.dev191.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
815
|
+
qontract_reconcile-0.10.2.dev191.dist-info/RECORD,,
|
@@ -5725,6 +5725,11 @@
|
|
5725
5725
|
"name": "AutomatedActionCreateToken_v1",
|
5726
5726
|
"ofType": null
|
5727
5727
|
},
|
5728
|
+
{
|
5729
|
+
"kind": "OBJECT",
|
5730
|
+
"name": "AutomatedActionNoOp_v1",
|
5731
|
+
"ofType": null
|
5732
|
+
},
|
5728
5733
|
{
|
5729
5734
|
"kind": "OBJECT",
|
5730
5735
|
"name": "AutomatedActionOpenshiftWorkloadRestart_v1",
|
@@ -27215,6 +27220,11 @@
|
|
27215
27220
|
"name": "AutomatedActionCreateToken_v1",
|
27216
27221
|
"ofType": null
|
27217
27222
|
},
|
27223
|
+
{
|
27224
|
+
"kind": "OBJECT",
|
27225
|
+
"name": "AutomatedActionNoOp_v1",
|
27226
|
+
"ofType": null
|
27227
|
+
},
|
27218
27228
|
{
|
27219
27229
|
"kind": "OBJECT",
|
27220
27230
|
"name": "AutomatedActionOpenshiftWorkloadRestart_v1",
|
@@ -53187,6 +53197,148 @@
|
|
53187
53197
|
"enumValues": null,
|
53188
53198
|
"possibleTypes": null
|
53189
53199
|
},
|
53200
|
+
{
|
53201
|
+
"kind": "OBJECT",
|
53202
|
+
"name": "AutomatedActionNoOp_v1",
|
53203
|
+
"description": null,
|
53204
|
+
"fields": [
|
53205
|
+
{
|
53206
|
+
"name": "schema",
|
53207
|
+
"description": null,
|
53208
|
+
"args": [],
|
53209
|
+
"type": {
|
53210
|
+
"kind": "NON_NULL",
|
53211
|
+
"name": null,
|
53212
|
+
"ofType": {
|
53213
|
+
"kind": "SCALAR",
|
53214
|
+
"name": "String",
|
53215
|
+
"ofType": null
|
53216
|
+
}
|
53217
|
+
},
|
53218
|
+
"isDeprecated": false,
|
53219
|
+
"deprecationReason": null
|
53220
|
+
},
|
53221
|
+
{
|
53222
|
+
"name": "path",
|
53223
|
+
"description": null,
|
53224
|
+
"args": [],
|
53225
|
+
"type": {
|
53226
|
+
"kind": "NON_NULL",
|
53227
|
+
"name": null,
|
53228
|
+
"ofType": {
|
53229
|
+
"kind": "SCALAR",
|
53230
|
+
"name": "String",
|
53231
|
+
"ofType": null
|
53232
|
+
}
|
53233
|
+
},
|
53234
|
+
"isDeprecated": false,
|
53235
|
+
"deprecationReason": null
|
53236
|
+
},
|
53237
|
+
{
|
53238
|
+
"name": "type",
|
53239
|
+
"description": null,
|
53240
|
+
"args": [],
|
53241
|
+
"type": {
|
53242
|
+
"kind": "NON_NULL",
|
53243
|
+
"name": null,
|
53244
|
+
"ofType": {
|
53245
|
+
"kind": "SCALAR",
|
53246
|
+
"name": "String",
|
53247
|
+
"ofType": null
|
53248
|
+
}
|
53249
|
+
},
|
53250
|
+
"isDeprecated": false,
|
53251
|
+
"deprecationReason": null
|
53252
|
+
},
|
53253
|
+
{
|
53254
|
+
"name": "description",
|
53255
|
+
"description": null,
|
53256
|
+
"args": [],
|
53257
|
+
"type": {
|
53258
|
+
"kind": "SCALAR",
|
53259
|
+
"name": "String",
|
53260
|
+
"ofType": null
|
53261
|
+
},
|
53262
|
+
"isDeprecated": false,
|
53263
|
+
"deprecationReason": null
|
53264
|
+
},
|
53265
|
+
{
|
53266
|
+
"name": "maxOps",
|
53267
|
+
"description": null,
|
53268
|
+
"args": [],
|
53269
|
+
"type": {
|
53270
|
+
"kind": "NON_NULL",
|
53271
|
+
"name": null,
|
53272
|
+
"ofType": {
|
53273
|
+
"kind": "SCALAR",
|
53274
|
+
"name": "Int",
|
53275
|
+
"ofType": null
|
53276
|
+
}
|
53277
|
+
},
|
53278
|
+
"isDeprecated": false,
|
53279
|
+
"deprecationReason": null
|
53280
|
+
},
|
53281
|
+
{
|
53282
|
+
"name": "instances",
|
53283
|
+
"description": null,
|
53284
|
+
"args": [],
|
53285
|
+
"type": {
|
53286
|
+
"kind": "NON_NULL",
|
53287
|
+
"name": null,
|
53288
|
+
"ofType": {
|
53289
|
+
"kind": "LIST",
|
53290
|
+
"name": null,
|
53291
|
+
"ofType": {
|
53292
|
+
"kind": "NON_NULL",
|
53293
|
+
"name": null,
|
53294
|
+
"ofType": {
|
53295
|
+
"kind": "OBJECT",
|
53296
|
+
"name": "AutomatedActionsInstance_v1",
|
53297
|
+
"ofType": null
|
53298
|
+
}
|
53299
|
+
}
|
53300
|
+
}
|
53301
|
+
},
|
53302
|
+
"isDeprecated": false,
|
53303
|
+
"deprecationReason": null
|
53304
|
+
},
|
53305
|
+
{
|
53306
|
+
"name": "permissions",
|
53307
|
+
"description": null,
|
53308
|
+
"args": [],
|
53309
|
+
"type": {
|
53310
|
+
"kind": "LIST",
|
53311
|
+
"name": null,
|
53312
|
+
"ofType": {
|
53313
|
+
"kind": "NON_NULL",
|
53314
|
+
"name": null,
|
53315
|
+
"ofType": {
|
53316
|
+
"kind": "OBJECT",
|
53317
|
+
"name": "PermissionAutomatedActions_v1",
|
53318
|
+
"ofType": null
|
53319
|
+
}
|
53320
|
+
}
|
53321
|
+
},
|
53322
|
+
"isDeprecated": false,
|
53323
|
+
"deprecationReason": null
|
53324
|
+
}
|
53325
|
+
],
|
53326
|
+
"inputFields": null,
|
53327
|
+
"interfaces": [
|
53328
|
+
{
|
53329
|
+
"kind": "INTERFACE",
|
53330
|
+
"name": "AutomatedAction_v1",
|
53331
|
+
"ofType": null
|
53332
|
+
},
|
53333
|
+
{
|
53334
|
+
"kind": "INTERFACE",
|
53335
|
+
"name": "DatafileObject_v1",
|
53336
|
+
"ofType": null
|
53337
|
+
}
|
53338
|
+
],
|
53339
|
+
"enumValues": null,
|
53340
|
+
"possibleTypes": null
|
53341
|
+
},
|
53190
53342
|
{
|
53191
53343
|
"kind": "OBJECT",
|
53192
53344
|
"name": "AutomatedActionOpenshiftWorkloadRestart_v1",
|
@@ -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.dev191.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|