diff --git a/bin/ck8s b/bin/ck8s index 146fe01c3b..05a434d513 100755 --- a/bin/ck8s +++ b/bin/ck8s @@ -96,8 +96,10 @@ ops) case "${2}" in kubectl | kubecolor | helm | helmfile | velero) [[ "${3}" =~ ^(wc|sc)$ ]] || usage - shift 2 - "${here}/ops.bash" "${2}" "${@}" + command="${2}" + cluster="${3}" + shift 3 + "${here}/ops.bash" "${command}" "${cluster}" "${@}" ;; *) usage ;; esac