Comments (7)
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.
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.
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.
That would be my use case... to avoid installing it locally, and allow it to be run from CI/CD tooling.
from kube-linter.
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.
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.
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)
- [FEATURE_REQUEST] Support Restart Policy
- [BUG] Linter reporting a low number of replicas for deployments with PDB and HPA minReplicas HOT 4
- Golang Plugins for kube-linter HOT 5
- [FEATURE_REQUEST] Add OpenShift SecurityContextConstraints
- [FEATURE_REQUEST] Explicit check for `securityContext.allowPrivilegeEscalation=false` on containers
- [Bug] no pods found matching service labels HOT 1
- [BUG] Release assets name HOT 1
- [FEATURE_REQUEST] Common target platforms (ie: linux/arm64)
- Change unset-cpu-requirements check
- Change unset-memory-requirements check
- [BUG] - since v0.6.6 linting from stdin doesn't work anymore with the command: kube-linter lint -
- [FEATURE_REQUEST] EnvVar ValueFrom checks
- [FEATURE_REQUEST] Merge arbitrary values.yaml when checking a helm chart
- [BUG] - service has no selector specified raised when using Endpoint
- [FEATURE_REQUEST] Expand `run-as-non-root` template to verify `runAsGroup` field is nonzero. HOT 1
- Include line and column number ranges for errors HOT 1
- [FEATURE_REQUEST] Need check for priorityClassName value
- [FEATURE_REQUEST] arm64 Docker image
- [FEATURE_REQUEST] New ObjectKind and Template for PersistentVolumeClaim and volumeClaimTemplates
- [BUG] no-rolling-update-strategy does not account for the default Strategy being RollingUpdate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-linter.