Code Monkey home page Code Monkey logo

kns's People

Contributors

cmeury avatar joosterman avatar kiran01bm avatar koenbollen avatar mmlb avatar oscaredel avatar ravanscafi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kns's Issues

ktx-preview.sh not found

I have the following Dockerfile:


WORKDIR /root

RUN apk add --no-cache \
    bash \
    jq \
    curl \
    git \
    openssl \
    groff \
    python3 && \
    pip3 install --upgrade pip && \
    pip3 install awscli==1.16.86

RUN cd /usr/local/bin && \
    curl -sSO https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/linux/amd64/kubectl && \
    chmod u+x kubectl && \
    curl -sSO https://raw.githubusercontent.com/blendle/kns/master/bin/kns && \
    chmod u+x kns && \
    curl -sSO https://raw.githubusercontent.com/blendle/kns/master/bin/ktx && \
    chmod u+x ktx && \
    git clone --quiet --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && \
    ~/.fzf/install && \
    ln -s /root/.fzf/bin/fzf /usr/local/bin/fzf

ENV PAGER='cat'

ENTRYPOINT ["/bin/bash"]

If I run ktx or kns from a bash prompt inside the container, I can see the contexts and namespaces on the left side of the screen. But on the right side of the screen I see:

sh: /usr/local/bin/../helpers/ktx-preview.sh: not found

How can I fix this?

ktx command fails without a current context

Steps

  1. Remove the current-context entry from ~/.kube/config
  2. Run ktx

Observation

An error is shown (1):

error: current-context is not set

Expectation

The tool opens the available contexts as usual.

Errors when running brew tap blendle/blendle

I receive the following errors when trying to run the first homebrew command:

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.

==> Tapping blendle/blendle
Cloning into '/usr/local/Homebrew/Library/Taps/blendle/homebrew-blendle'...
remote: Enumerating objects: 306, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 306 (delta 21), reused 24 (delta 12), pack-reused 265
Receiving objects: 100% (306/306), 42.88 KiB | 2.38 MiB/s, done.
Resolving deltas: 100% (143/143), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/blendle/homebrew-blendle/Formula/kubecrt.rb
kubecrt: Calling `cellar` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the blendle/blendle tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/blendle/homebrew-blendle/Formula/kubecrt.rb:11

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/blendle/homebrew-blendle/Formula/epp.rb
epp: Calling `cellar` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the blendle/blendle tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/blendle/homebrew-blendle/Formula/epp.rb:11

Error: Cannot tap blendle/blendle: invalid syntax in tap!

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.