summaryrefslogtreecommitdiff
path: root/homebrew/kubectx
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/kubectx')
-rw-r--r--homebrew/kubectx/.beer27
-rw-r--r--homebrew/kubectx/.make.sh-auto8
-rw-r--r--homebrew/kubectx/_metadata/description1
-rw-r--r--homebrew/kubectx/_metadata/homepage1
-rw-r--r--homebrew/kubectx/_metadata/name1
-rw-r--r--homebrew/kubectx/_metadata/version1
-rwxr-xr-xhomebrew/kubectx/download.sh1
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/kubectx/.beer b/homebrew/kubectx/.beer
new file mode 100644
index 000000000..cd70e172a
--- /dev/null
+++ b/homebrew/kubectx/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "Kubectx",
+ "description": "Tool that can switch between kubectl contexts easily and create aliases",
+ "url": "https://github.com/ahmetb/kubectx/archive/v0.6.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/ahmetb/kubectx",
+ "depends": [
+ {
+ "depend": "kubernetes-cli",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "bin.install \"kubectx\", \"kubens\"",
+ "bash_completion.install \"completion/kubectx.bash\" => \"kubectx\"",
+ "bash_completion.install \"completion/kubens.bash\" => \"kubens\"",
+ "zsh_completion.install \"completion/kubectx.zsh\" => \"_kubectx\"",
+ "zsh_completion.install \"completion/kubens.zsh\" => \"_kubens\"",
+ "fish_completion.install \"completion/kubectx.fish\"",
+ "fish_completion.install \"completion/kubens.fish\""
+ ],
+ "version": "0.6.3",
+ "file": "kubectx.rb"
+} \ No newline at end of file
diff --git a/homebrew/kubectx/.make.sh-auto b/homebrew/kubectx/.make.sh-auto
new file mode 100644
index 000000000..bac553d53
--- /dev/null
+++ b/homebrew/kubectx/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+bin.install "kubectx", "kubens"
+bash_completion.install "completion/kubectx.bash" => "kubectx"
+bash_completion.install "completion/kubens.bash" => "kubens"
+zsh_completion.install "completion/kubectx.zsh" => "_kubectx"
+zsh_completion.install "completion/kubens.zsh" => "_kubens"
+fish_completion.install "completion/kubectx.fish"
+fish_completion.install "completion/kubens.fish"
diff --git a/homebrew/kubectx/_metadata/description b/homebrew/kubectx/_metadata/description
new file mode 100644
index 000000000..22b0910ce
--- /dev/null
+++ b/homebrew/kubectx/_metadata/description
@@ -0,0 +1 @@
+Tool that can switch between kubectl contexts easily and create aliases
diff --git a/homebrew/kubectx/_metadata/homepage b/homebrew/kubectx/_metadata/homepage
new file mode 100644
index 000000000..2ec1173af
--- /dev/null
+++ b/homebrew/kubectx/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/ahmetb/kubectx
diff --git a/homebrew/kubectx/_metadata/name b/homebrew/kubectx/_metadata/name
new file mode 100644
index 000000000..cda9ec402
--- /dev/null
+++ b/homebrew/kubectx/_metadata/name
@@ -0,0 +1 @@
+Kubectx
diff --git a/homebrew/kubectx/_metadata/version b/homebrew/kubectx/_metadata/version
new file mode 100644
index 000000000..844f6a91a
--- /dev/null
+++ b/homebrew/kubectx/_metadata/version
@@ -0,0 +1 @@
+0.6.3
diff --git a/homebrew/kubectx/download.sh b/homebrew/kubectx/download.sh
new file mode 100755
index 000000000..832bf214e
--- /dev/null
+++ b/homebrew/kubectx/download.sh
@@ -0,0 +1 @@
+wget https://github.com/ahmetb/kubectx/archive/v0.6.3.tar.gz \ No newline at end of file