Coder Social home page Coder Social logo

Comments (7)

viswajithiii avatar viswajithiii commented on August 17, 2024 2

Has anyone requested official support for running this using GitHub Actions? I can't find any such request. That would be our use-case, to run the above image in PRs using GitHub natively.

Hi @jspiro, yes, we have discussed having an official GitHub Action before, but haven't tracked it in an issue as yet. I've created #96 to track this.

Even before that, though, it should be possible to use KubeLinter without too much difficulty in a GitHub Action. We have an example here that may be helpful (it uses the binary directly instead of the image, which I think is preferable anyway since it avoids the dependency on Docker).

from kube-linter.

jspiro avatar jspiro commented on August 17, 2024 1

Aw, thank you @viswajithiii! I will give the example a shot and otherwise follow #96. Maybe I'll even find some time to contribute to it ;-)

from kube-linter.

viswajithiii avatar viswajithiii commented on August 17, 2024

Hi @linuxbsdfreak,

Thanks for filing this issue! This is definitely something we can do, but first I'd like to understand how you would like to use it to make sure we can handle that. Specifically, how do you want to pass the files to be linted to KubeLinter? Is your goal to be able to do something like docker run -v <path-to-helm-files>:<path-in-container> <kube-linter-image>?

from kube-linter.

tdensmore avatar tdensmore commented on August 17, 2024

That would be my use case... to avoid installing it locally, and allow it to be run from CI/CD tooling.

from kube-linter.

linuxbsdfreak avatar linuxbsdfreak commented on August 17, 2024

Hi @viswajithiii ,

Thanks. I am using tekton CI/CD to run tools to validate helm charts. I would like to use kube-linter as a tool packaged as a docker image and run it against helm charts path or plain K8s manifests. That would be my use case.

Kevin

from kube-linter.

kreamkorokke avatar kreamkorokke commented on August 17, 2024

Hi @linuxbsdfreak and @tdensmore
That makes sense. We have added it to our roadmap and thanks again for bringing this up. I will loop this back to our main developer.

from kube-linter.

jspiro avatar jspiro commented on August 17, 2024

Has anyone requested official support for running this using GitHub Actions? I can't find any such request. That would be our use-case, to run the above image in PRs using GitHub natively.

from kube-linter.

Related Issues (20)

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.