Giter VIP home page Giter VIP logo

ksd's Introduction

ksd's People

Contributors

mfuentesg 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

Watchers

 avatar  avatar  avatar  avatar

ksd's Issues

Calling bottle :unneeded is deprecated

It appears that bottle :unneeded was deprecated by merging Homebrew/brew#12259. This causes warning messages to be printed:

~ % brew --version
Homebrew 3.3.2
Homebrew/homebrew-core (git revision 4420dde1542; last commit 2021-11-03)
Homebrew/homebrew-cask (git revision e238740ae5; last commit 2021-11-03)
~ % brew doctor
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mfuentesg/tap tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mfuentesg/homebrew-tap/ksd.rb:6

Your system is ready to brew.

Unable to fetch decoded kubectl secrets using ksd

As mentioned in README.md, installed ksd in my local fedora machine but it did not create executable.
Then tried go build in the ~/go/src/mfuentesg/ksd directory which created the executable.
Once created, I ran the below command to fetch the decoded secret.
$ kubectl get secret jx-jx-app-jenkins -o yaml | ~/go/src/github.com/mfuentesg/ksd/ksd

RESULT: Encoded file returned.
Expected Result: Decoded file/ secret.

No where found anything related to this, could someone help me out with this or it's a bug in KSD.

use stringData instead of data

Just a suggestion: when you decode the base64-encoded values under the "data" key, if you replaced "data" with "stringData", the resulting YAML file would be directly usable by kubernetes.

This is useful for situations where you are going to run your YAML through something like sops to allow you to securely store the YAML in git. You want the YAML in a format that is legal for k8s so that when you decrypt from sops, you can feed the results directly to kubectl apply.

Of course, I realize that it's a pretty easy workaround. After running ksd, I can manually edit the YAML to change "data" to "stringData". This is just a small convenience kind of thing.

not decoding secrets

I just ran go get github.com/mfuentesg/ksd about 20 minutes ago (after your 1.0.2 release).

When I pipe a secrets yaml file through ksd, it doesn't modify the base64-encoded data at all. Saving the output to a file and diffing with the original shows no differences between the two.

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.