qontract-reconcile 0.9.1rc167__py3-none-any.whl → 0.9.1rc168__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.9.1rc167
3
+ Version: 0.9.1rc168
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
@@ -474,7 +474,7 @@ release/test_version.py,sha256=jOMn3Qx-mZC5pnJR0LU9ieIdNaYZSmr1kQ6aCkPngAU,2053
474
474
  release/version.py,sha256=Ud36t9FxGHLubMrE2o5aaaZRGB9_9hU_z0RN9go0TQM,3876
475
475
  tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
476
476
  tools/app_interface_reporter.py,sha256=k3KsYVzBWCxqK8GazjoiaPJGi4f1pMhBtZEoVyIm26s,21850
477
- tools/qontract_cli.py,sha256=udyupqX725d9-9qJUjQN7cBozJ0CJUrJCnIpARNqbe0,82984
477
+ tools/qontract_cli.py,sha256=Pq8lRctOj9J2I25vVjprRi62NAzwIsR-FjBD9gVY36s,83150
478
478
  tools/cli_commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
479
479
  tools/cli_commands/gpg_encrypt.py,sha256=JryinrDdvztN931enUY3FuDeLVnfs6y58mnK7itNK6Y,4940
480
480
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
@@ -482,8 +482,8 @@ tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y
482
482
  tools/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
483
483
  tools/test/test_qontract_cli.py,sha256=awwTHEc2DWlykuqGIYM0WOBoSL0KRnOraCLk3C7izis,1401
484
484
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
485
- qontract_reconcile-0.9.1rc167.dist-info/METADATA,sha256=wpPKOallyOh1-DmX0i7trjr-aXU3_ADx-9ky8XO-DAc,2259
486
- qontract_reconcile-0.9.1rc167.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
487
- qontract_reconcile-0.9.1rc167.dist-info/entry_points.txt,sha256=3BPvsRryM1C4S_mb5kXmP5AVv-wJBzVCrOJyv6qUmc0,195
488
- qontract_reconcile-0.9.1rc167.dist-info/top_level.txt,sha256=j0CHPIc8TsVRB50wOz_jhxjjaRyCJB3NOQeXhuHS67c,34
489
- qontract_reconcile-0.9.1rc167.dist-info/RECORD,,
485
+ qontract_reconcile-0.9.1rc168.dist-info/METADATA,sha256=_ZKhFyndKSjoIxv1YYH6lXkgeiaxfHNeySbVQZD73pY,2259
486
+ qontract_reconcile-0.9.1rc168.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
487
+ qontract_reconcile-0.9.1rc168.dist-info/entry_points.txt,sha256=3BPvsRryM1C4S_mb5kXmP5AVv-wJBzVCrOJyv6qUmc0,195
488
+ qontract_reconcile-0.9.1rc168.dist-info/top_level.txt,sha256=j0CHPIc8TsVRB50wOz_jhxjjaRyCJB3NOQeXhuHS67c,34
489
+ qontract_reconcile-0.9.1rc168.dist-info/RECORD,,
tools/qontract_cli.py CHANGED
@@ -29,7 +29,10 @@ from reconcile.change_owners.change_owners import (
29
29
  fetch_self_service_roles,
30
30
  )
31
31
  from reconcile.checkpoint import report_invalid_metadata
32
- from reconcile.cli import config_file
32
+ from reconcile.cli import (
33
+ config_file,
34
+ use_jump_host,
35
+ )
33
36
  from reconcile.jenkins_job_builder import init_jjb
34
37
  from reconcile.prometheus_rules_tester import get_data_from_jinja_test_template
35
38
  from reconcile.slack_base import slackapi_from_queries
@@ -1805,8 +1808,9 @@ def app_interface_merge_history(ctx):
1805
1808
  short_help="obtain a list of all resources that are managed "
1806
1809
  "on a customer cluster via a Hive SelectorSyncSet."
1807
1810
  )
1811
+ @use_jump_host()
1808
1812
  @click.pass_context
1809
- def selectorsyncset_managed_resources(ctx):
1813
+ def selectorsyncset_managed_resources(ctx, use_jump_host):
1810
1814
  vault_settings = get_app_interface_vault_settings()
1811
1815
  secret_reader = create_secret_reader(use_vault=vault_settings.vault)
1812
1816
  clusters = get_clusters()
@@ -1816,6 +1820,7 @@ def selectorsyncset_managed_resources(ctx):
1816
1820
  integration="qontract-cli",
1817
1821
  thread_pool_size=1,
1818
1822
  init_api_resources=True,
1823
+ use_jump_host=use_jump_host,
1819
1824
  )
1820
1825
  columns = [
1821
1826
  "cluster",
@@ -1861,8 +1866,9 @@ def selectorsyncset_managed_resources(ctx):
1861
1866
  short_help="obtain a list of all resources that are managed "
1862
1867
  "on a customer cluster via an ACM Policy via a Hive SelectorSyncSet."
1863
1868
  )
1869
+ @use_jump_host()
1864
1870
  @click.pass_context
1865
- def selectorsyncset_managed_hypershift_resources(ctx):
1871
+ def selectorsyncset_managed_hypershift_resources(ctx, use_jump_host):
1866
1872
  vault_settings = get_app_interface_vault_settings()
1867
1873
  secret_reader = create_secret_reader(use_vault=vault_settings.vault)
1868
1874
  clusters = get_clusters()
@@ -1872,6 +1878,7 @@ def selectorsyncset_managed_hypershift_resources(ctx):
1872
1878
  integration="qontract-cli",
1873
1879
  thread_pool_size=1,
1874
1880
  init_api_resources=True,
1881
+ use_jump_host=use_jump_host,
1875
1882
  )
1876
1883
  columns = [
1877
1884
  "cluster",