Coder Social home page Coder Social logo

helm-kubeval's People

Contributors

garethr 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

Watchers

 avatar  avatar  avatar  avatar  avatar

helm-kubeval's Issues

Use sh instead of bash.

bash is not always available in nix systems but sh typically is. Would provide broader support by using sh instead of bash in the scripts.

[BUG] Fails to install on Windows

Attempting to install the plugin in GitBash (using Powershell also fails due to the ".sh" file), it errors out with:

Installing helm-kubeval v0.13.0 ...
tar (child): Cannot execute remote shell: No such file or directory
tar (child): kubeval-UNKNOWN\:MINGW64_NT-10.0-19041-amd64.tar.gz: Cannot open: Input/output error
tar (child): Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error is not recoverable: exiting now
helm-kubeval 0.13.0 is installed.

See https://kubeval.instrumenta.dev for help getting started.

Periodically errors appear during validation errors

plugin nice working, but no always
when i'm trying validate chart, an error may occur

helm kubeval ~/charts/stackdriver-telegram/helm-chart
4 errors occurred:
	* Failed initalizing schema https://kubernetesjsonschema.dev/master-standalone/secret-v1.json: Get https://kubernetesjsonschema.dev/master-standalone/secret-v1.json: dial tcp 167.99.137.12:443: i/o timeout
	* Failed initalizing schema https://kubernetesjsonschema.dev/master-standalone/service-v1.json: Get https://kubernetesjsonschema.dev/master-standalone/service-v1.json: dial tcp 167.99.129.42:443: i/o timeout
	* Failed initalizing schema https://kubernetesjsonschema.dev/master-standalone/deployment-apps-v1.json: Get https://kubernetesjsonschema.dev/master-standalone/deployment-apps-v1.json: dial tcp 167.99.129.42:443: i/o timeout
	* Failed initalizing schema https://kubernetesjsonschema.dev/master-standalone/ingress-extensions-v1beta1.json: Get https://kubernetesjsonschema.dev/master-standalone/ingress-extensions-v1beta1.json: dial tcp 167.99.137.12:443: i/o timeout


Error: plugin "kubeval" exited with error

Plugin shadows --version option of helm install and helm template

Both helm install and helm template support a --version option used to specify the version of a chart to install:

--version string             specify the exact chart version to install. If this is not specified, the latest version is installed

Unfortunately the current version of this package intercepts the --version argument and passes it to kubeval, which makes it impossible to give this argument to helm template:

case "$1" in
--version|--help)
$HELM_PLUGIN_DIR/bin/kubeval $1
exit
;;

It would be great if there were a way to pass the --version argument to helm. I think the best way to achieve this would be by supporting the "end of options" flag, which is --. Using the -- sends all arguments after it to helm without intercepting any of them.

I imagine the usage would look like:

helm kubeval myChart -- --version 1.0

This would pass the --version 1.0 argument to helm, rather than printing the kubeval version.

The current version of run.sh nearly supports this. It has an eoo variable which it checks (complete with an appropriate else case), but it never actually checks for -- or sets eoo to 1.

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.