You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,11 @@ The container can be configured with the following environment variables (`--env
96
96
<td>Defines on which port the other containers can be reached via ssh. The ssh connection to the target can only be made via this port then. The default value '*' permits any port.</td>
97
97
<td>*</td>
98
98
</tr>
99
+
<tr>
100
+
<td>SSH_TARGET_LABELS</td>
101
+
<td>Specify which containers are targeted. Filters containers / pods via these labels. Must be in the form of "label1=value1,label2=value2,label3=value3". Default is empty string which disables filtering.</td>
102
+
<td>""</td>
103
+
</tr>
99
104
<tr>
100
105
<td>SSH_TARGET_PUBLICKEY_API_PORT</td>
101
106
<td>Port where the target container exposes the /publickey endpoint (if used).</td>
print("Connection to {ip} timed out after {timeout} seconds. Will try to exec into the pod to retrieve the key.".format(ip=pod_ip, timeout=str(timeout_seconds)))
print("Connection to {ip} timed out after {timeout} seconds. Will try to exec into the pod to retrieve the key.".format(ip=container.id, timeout=str(timeout_seconds)))
0 commit comments