Skip to content

Commit 05a7907

Browse files
committed
feat: Adding kube ssl tunnel
Signed-off-by: Vincent Boutour <[email protected]>
1 parent b34ee4c commit 05a7907

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sources/kubernetes

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
22

3+
kube_ssh_tunnel() {
4+
ssh_forward_local 6443 6443 "${KUBERNETES_MASTER}"
5+
}
6+
37
if command -v kubectl >/dev/null 2>&1; then
48
if command -v yq >/dev/null 2>&1; then
59
__kube_ps1() {

0 commit comments

Comments
 (0)