qontract-reconcile 0.10.1rc750__py3-none-any.whl → 0.10.1rc751__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.10.1rc750
3
+ Version: 0.10.1rc751
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
@@ -621,7 +621,7 @@ reconcile/utils/jenkins_api.py,sha256=MyJSB_S3uYf3sXnt9t03-gZNQ7tbdd7Wusv3MoF2fR
621
621
  reconcile/utils/jira_client.py,sha256=sCswWH-SctzPSElI9_oHv9LKuNnPfjP_FIOizxqh6nE,7693
622
622
  reconcile/utils/jjb_client.py,sha256=Pdy0dLCFvD6GPCaC0tZydYgkVJPOxYXIiwWECZaFJBU,14551
623
623
  reconcile/utils/jsonpath.py,sha256=NRpAEijKN4cMDjo7qivNPqpm0__GQQ1TiE0PBEBO45s,5572
624
- reconcile/utils/jump_host.py,sha256=AdwmCZYNhRe53VwV2iAsUdVyUdVtSd4REmdThJDkM5w,4973
624
+ reconcile/utils/jump_host.py,sha256=ovcJ0quuHW-yxuSXvyzmOdTs4pkGZEhYfy6jIRMz9HU,5209
625
625
  reconcile/utils/keycloak.py,sha256=UqOsAcHKmmIunroWB5YzC1fUZ3S3aq6L7trn6vLRmXY,3395
626
626
  reconcile/utils/ldap_client.py,sha256=ho4veSrHqQWs0YhLFyKeD-duCwY8Nc5gUIA5qLENuMY,2502
627
627
  reconcile/utils/lean_terraform_client.py,sha256=zReyNPJbr2uOdrdh8Qfe-OZQBoRwxb5Za_ddeoUCYVk,4064
@@ -778,8 +778,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
778
778
  tools/test/test_qontract_cli.py,sha256=w2l4BHB09k1d-BGJ1jBUNCqDv7zkqYrMHojQXg-21kQ,4155
779
779
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
780
780
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
781
- qontract_reconcile-0.10.1rc750.dist-info/METADATA,sha256=OjuBqPZe4yfGlnEFvZcd-EipJpq4RxRDY6wrvn-_sQU,2382
782
- qontract_reconcile-0.10.1rc750.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
783
- qontract_reconcile-0.10.1rc750.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
784
- qontract_reconcile-0.10.1rc750.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
785
- qontract_reconcile-0.10.1rc750.dist-info/RECORD,,
781
+ qontract_reconcile-0.10.1rc751.dist-info/METADATA,sha256=siqrJyv1zzhjJ0bILXpBrFQywzS0NHPrPjwPEOPCshs,2382
782
+ qontract_reconcile-0.10.1rc751.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
783
+ qontract_reconcile-0.10.1rc751.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
784
+ qontract_reconcile-0.10.1rc751.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
785
+ qontract_reconcile-0.10.1rc751.dist-info/RECORD,,
@@ -128,12 +128,14 @@ class JumpHostSSH(JumpHostBase):
128
128
  if self._local_port not in JumpHostSSH.bastion_tunnel:
129
129
  # Hide connect messages from sshtunnel
130
130
  with toggle_logger():
131
+ # equivalent to: ssh -i identity_file -L localhost:local_port:localhost:remote_port user@bastion
132
+ # localhost:local_port -> bastion:22 -> bastion_localhost:remote_port(tinyproxy) -> cluster_host:6443
131
133
  tunnel = SSHTunnelForwarder(
132
134
  ssh_address_or_host=self._hostname,
133
135
  ssh_port=self._port,
134
136
  ssh_username=self._user,
135
137
  ssh_pkey=self._identity_file,
136
- remote_bind_address=(self._hostname, self._remote_port),
138
+ remote_bind_address=("localhost", self._remote_port),
137
139
  local_bind_address=("localhost", self._local_port),
138
140
  )
139
141
  tunnel.start()