qontract-reconcile 0.10.1rc842__py3-none-any.whl → 0.10.1rc844__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.1rc842.dist-info → qontract_reconcile-0.10.1rc844.dist-info}/METADATA +2 -2
- {qontract_reconcile-0.10.1rc842.dist-info → qontract_reconcile-0.10.1rc844.dist-info}/RECORD +7 -7
- reconcile/queries.py +6 -0
- tools/qontract_cli.py +6 -2
- {qontract_reconcile-0.10.1rc842.dist-info → qontract_reconcile-0.10.1rc844.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc842.dist-info → qontract_reconcile-0.10.1rc844.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc842.dist-info → qontract_reconcile-0.10.1rc844.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc842.dist-info → qontract_reconcile-0.10.1rc844.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.1rc844
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Home-page: https://github.com/app-sre/qontract-reconcile
|
6
6
|
Author: Red Hat App-SRE Team
|
@@ -40,7 +40,7 @@ Requires-Dist: jenkins-job-builder ~=4.3.0
|
|
40
40
|
Requires-Dist: parse ==1.18.0
|
41
41
|
Requires-Dist: sendgrid <6.5.0,>=6.4.8
|
42
42
|
Requires-Dist: dnspython ~=2.1
|
43
|
-
Requires-Dist: requests
|
43
|
+
Requires-Dist: requests ~=2.32
|
44
44
|
Requires-Dist: kubernetes ~=24.0
|
45
45
|
Requires-Dist: websocket-client <0.55.0,>=0.35
|
46
46
|
Requires-Dist: sshtunnel >=0.4.0
|
{qontract_reconcile-0.10.1rc842.dist-info → qontract_reconcile-0.10.1rc844.dist-info}/RECORD
RENAMED
@@ -93,7 +93,7 @@ reconcile/quay_mirror.py,sha256=9NzbNoxl-NdD8CwImcXNG5xTdHmUJxBfeVk5XHH41J8,1488
|
|
93
93
|
reconcile/quay_mirror_org.py,sha256=Oq-t3kSkgfeSAOUDjLCDRBeEvOIEBacfX38qrX_s0oc,10801
|
94
94
|
reconcile/quay_permissions.py,sha256=9KOutS1w4RFQqkvMSy54VtsKNx56-phzP6yI_rEW-B8,4244
|
95
95
|
reconcile/quay_repos.py,sha256=cuEYG0HUe0ut5yvLdEwOF5-CmccpXQHRb_wDazvDrvQ,6895
|
96
|
-
reconcile/queries.py,sha256=
|
96
|
+
reconcile/queries.py,sha256=dzg1HlbYYbV-UIpEuHVRpgm65q4B5zkF2EK4qhHWqrI,50839
|
97
97
|
reconcile/query_validator.py,sha256=BAjGrU8_VhzTOv5k0-uz0hY9ziZyconv8VAhgre1Auc,1497
|
98
98
|
reconcile/requests_sender.py,sha256=914iluuF4UVgG3VyxxtnHOu4yf6YKS2fIy6PViSsFTQ,3875
|
99
99
|
reconcile/resource_scraper.py,sha256=vo1N9vLJCYWvXlTwFRIpEuWjx_39ZV9zxJlpoPq4g3U,2330
|
@@ -806,7 +806,7 @@ tools/app_interface_metrics_exporter.py,sha256=zkwkxdAUAxjdc-pzx2_oJXG25fo0Fnyd5
|
|
806
806
|
tools/app_interface_reporter.py,sha256=upA-J-n-HXHKVDINRuMR7vTt-iJvQORKUVi9D3leQto,17738
|
807
807
|
tools/glitchtip_access_reporter.py,sha256=oPBnk_YoDuljU3v0FaChzOwwnk4vap1xEE67QEjzdqs,2948
|
808
808
|
tools/glitchtip_access_revalidation.py,sha256=8kbBJk04mkq28kWoRDDkfCGIF3GRg3pJrFAh1sW0dbk,2821
|
809
|
-
tools/qontract_cli.py,sha256=
|
809
|
+
tools/qontract_cli.py,sha256=gf20IVJqMjaKpMi-zWDZKAMSKPSj6vCoCVXTkqCVin0,118372
|
810
810
|
tools/sd_app_sre_alert_report.py,sha256=e9vAdyenUz2f5c8-z-5WY0wv-SJ9aePKDH2r4IwB6pc,5063
|
811
811
|
tools/template_validation.py,sha256=-U-lTGeLaci8yWPEblCJeev2DOlY1jM9QOOh-O1zts8,3376
|
812
812
|
tools/cli_commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -834,8 +834,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
|
|
834
834
|
tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jrss,4941
|
835
835
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
836
836
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
837
|
-
qontract_reconcile-0.10.
|
838
|
-
qontract_reconcile-0.10.
|
839
|
-
qontract_reconcile-0.10.
|
840
|
-
qontract_reconcile-0.10.
|
841
|
-
qontract_reconcile-0.10.
|
837
|
+
qontract_reconcile-0.10.1rc844.dist-info/METADATA,sha256=NBxvvpkVxmP8Ir7g9Iiin-y62XxqWzDZfQaWeiJK10o,2273
|
838
|
+
qontract_reconcile-0.10.1rc844.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
839
|
+
qontract_reconcile-0.10.1rc844.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
840
|
+
qontract_reconcile-0.10.1rc844.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
841
|
+
qontract_reconcile-0.10.1rc844.dist-info/RECORD,,
|
reconcile/queries.py
CHANGED
tools/qontract_cli.py
CHANGED
@@ -1265,8 +1265,9 @@ def aws_route53_zones(ctx):
|
|
1265
1265
|
|
1266
1266
|
@get.command()
|
1267
1267
|
@click.argument("cluster_name")
|
1268
|
+
@click.option("--cluster-admin/--no-cluster-admin", default=False)
|
1268
1269
|
@click.pass_context
|
1269
|
-
def bot_login(ctx, cluster_name):
|
1270
|
+
def bot_login(ctx, cluster_name, cluster_admin):
|
1270
1271
|
settings = queries.get_app_interface_settings()
|
1271
1272
|
secret_reader = SecretReader(settings=settings)
|
1272
1273
|
clusters = queries.get_clusters()
|
@@ -1277,7 +1278,10 @@ def bot_login(ctx, cluster_name):
|
|
1277
1278
|
|
1278
1279
|
cluster = clusters[0]
|
1279
1280
|
server = cluster["serverUrl"]
|
1280
|
-
|
1281
|
+
automation_token_name = (
|
1282
|
+
"clusterAdminAutomationToken" if cluster_admin else "automationToken"
|
1283
|
+
)
|
1284
|
+
token = secret_reader.read(cluster[automation_token_name])
|
1281
1285
|
print(f"oc login --server {server} --token {token}")
|
1282
1286
|
|
1283
1287
|
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc842.dist-info → qontract_reconcile-0.10.1rc844.dist-info}/top_level.txt
RENAMED
File without changes
|