kubectx: make kubernetes-cli recommended (#17906)

This commit is contained in:
Matt Brown 2017-09-10 19:24:08 -04:00 committed by FX Coudert
parent da0a7f4527
commit 86ab7d5902

View file

@ -9,7 +9,7 @@ class Kubectx < Formula
option "with-short-names", "link as \"kctx\" and \"kns\" instead"
depends_on "kubernetes-cli" => :run
depends_on "kubernetes-cli" => [:run, :recommended]
def install
bin.install "kubectx" => build.with?("short-names") ? "kctx" : "kubectx"