mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
+kubectx
This commit is contained in:
parent
b67c94592b
commit
5519a2dc78
1 changed files with 25 additions and 0 deletions
25
projects/kubectx.dev/package.yml
Normal file
25
projects/kubectx.dev/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
distributable:
|
||||
url: https://github.com/ahmetb/kubectx/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: ahmetb/kubectx
|
||||
|
||||
provides:
|
||||
- bin/kubectx
|
||||
- bin/kubens
|
||||
|
||||
dependencies:
|
||||
kubernetes.io/kubectl: ^1.26.2
|
||||
gnu.org/bash: ^5.1
|
||||
|
||||
build:
|
||||
script: |
|
||||
mkdir -p "{{ prefix }}"/bin
|
||||
mv kubectx "{{ prefix }}"/bin
|
||||
mv kubens "{{ prefix }}"/bin
|
||||
|
||||
test:
|
||||
script: |
|
||||
kubectx --help
|
||||
kubens --help
|
Loading…
Reference in a new issue