Giter Site home page Giter Site logo

easy_kubectl's People

Contributors

yonkafang avatar zhranklin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

easy_kubectl's Issues

seems to not auto load KUBE_NS

version: v1.0.18
kubectl version: kubectl_1.20.4_linux

KUBE_NS env empty when login, thus k behaviors improperly until manually choose a ns. That means no persistence is applied.

seems to not work in 1.25

update_k
updating to version: v1.1.3
sed: -e expression #1, char 3: unexpected `,'
-n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default -n=default /home/yonka/.easy_kubectl/compl_zsh:400: parse error: condition expected: 0e
-n=default -n=default -n=default -n=default -n=default -n=default /home/yonka/.easy_kubectl/compl_zsh:488: parse error: condition expected: 0e
-n=default -n=default /home/yonka/.easy_kubectl/compl_zsh:508: parse error: condition expected: 0e
/home/yonka/.easy_kubectl/compl_zsh:568: parse error: condition expected: 0e
-n=default -n=default _tags:comptags:36: can only be called from completion function
_tags:comptry:55: can only be called from completion function
_tags:comptags:60: can only be called from completion function
_tags:comptags:67: can only be called from completion function
-n=default -n=default -n=default /home/yonka/.easy_kubectl/compl_zsh:680: parse error: condition expected: 0e
-n=default -n=default -n=default -n=default -n=default -n=default _arguments:comparguments:325: can only be called from completion function
-n=default -n=default -n=default -n=default -n=default -n=default -n=default Current Namespace:
default
successfully installed easy_kubectl!

support offline usage

in some env we can not access the internet, can we provide a way to package all files including dependencies like fzf to a tar.gz file?

`k config` passes unexpected `-n` param

k config set-context --current
kubectl -n default config set-context --current
Error: unknown shorthand flag: 'n' in -n
See 'kubectl config set-context --help' for usage.

under zsh

base64: invalid option -- w when GEN_OFFLINE

platform: macos m1

➜  easy_kubectl export FZF_TARGET=linux_amd64
➜  easy_kubectl tag=$(wget -qO - https://api.github.com/repos/zhranklin/easy_kubectl/releases/latest|grep tag_name|sed 's/.*tag_name": "//g; s/",.*//g')
➜  easy_kubectl wget -qO - https://github.com/zhranklin/easy_kubectl/archive/$tag.tar.gz | tar xzO easy_kubectl-$tag/install.sh > install.sh
➜  easy_kubectl GEN_OFFLINE=1 source install.sh > install-offline.sh
base64: invalid option -- w
Usage:	base64 [-hvDd] [-b num] [-i in_file] [-o out_file]
  -h, --help     display this message
  -Dd, --decode   decodes input
  -b, --break    break encoded string into num character lines
  -i, --input    input file (default: "-" for stdin)
  -o, --output   output file (default: "-" for stdout)
fzf: Write error
tar: Error exit delayed from previous errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.