Comments (7)
I agree that the #62 solution is more universal.
From the point of view of CI/CD and Kustomize, this is a very nice to have and a lower implementation bar IMO, which is why I mention it here.
Otherwise in my GitHub Actions CI/CD I'll have to actually deploy the Kustomize to a K8s cluster and then run Nova against the live cluster to scan for new updates, which is pretty inefficient.
from nova.
Yeah that solved it, thanks.
I didn't see the flag in --help
locally because I had 3.0.2 installed but once I upgraded to 3.3.0 I found it and this has solved the output in the CI workflow output.
from nova.
I agree, we definitely have a gap where helm-templated and gitops solutions are excluded from Nova.
The proposed solution here could work, but how do you propose to do in-cluster scanning? The proposed solution in #62 would cover both in-cluster and out-of-cluster, and would cover almost all use-cases, rather than specifically one tool at a time. ArgoCD and Kustomize are only 2 tools in an ever-expanding list of tools that support Helm charts but don't create actual releases.
Would love to get @rbren or @makoscafee to weigh in on this as codeowners of this project.
from nova.
I've created a CI/CD workflow that installs all kustomization.yaml apps and then runs Nova.
Right now it finds nothing because Nova must be looking for Helm release information, but once it starts scanning for applied templates via helm annotations I can use this workflow to immediately test it:
https://github.com/HariSekhon/Kubernetes-configs/runs/7971985694?check_suite_focus=true
from nova.
I would still like the file scanning level of-course though, as this is a pretty heavy and slow solution to the problem of parsing out the helm chart version from kustomization.yaml
.
from nova.
FYI I created another script kustomize_install_helm_charts.sh
to parse out and install the Helm chart(s) the old-fashioned non-GitOps way using Helm CLI so that Nova can be run on it right now:
https://github.com/HariSekhon/DevOps-Bash-tools
I've used this in my Kubernetes repo's GitHub Actions CI/CD workflow and this works for me as a workaround until Nova can scan the helm release annotations from the Kubernetes objects instead:
https://github.com/HariSekhon/Kubernetes-configs/actions/workflows/nova.yaml
However, Nova seems to be outputting the information in JSON instead of the nicely tabulated format on the CLI, which is presumably due to detecting running in non-interactive or CI environment.
Any idea how I can force Nova to output in tabular format?
from nova.
In theory the --format=table
flag should work for that.
from nova.
Related Issues (20)
- `nova --containers` recommends wrong image HOT 2
- `--include-all` seems to be used inconsistently
- Nova unable to flag deprecated Helm charts HOT 3
- Context Deadline HOT 1
- Doesn't work with public helm charts due to request throttling from artifacthub HOT 3
- Find containers - timeout HOT 1
- Find always outputs in json HOT 2
- Release name pattern change causes dynamic downloads to fail
- Ability to scan helm charts located in local file system HOT 2
- Allow to configure an ignore list of charts that don't need checking HOT 5
- Sometimes Nova fails to complete running because of not finding private Charts in ArtifactHub HOT 3
- Add a sort option to Nova, so that we would --include-all and sort all outdated packages to the start or end HOT 2
- Artifact Hub API rate limit HOT 33
- Can't scan private Helm registries and it completely fails HOT 6
- Nova gets wrong service account HOT 3
- Nova times out when fetching ridiculous number of tags HOT 3
- Expose kubeVersion in Chart.yaml
- New release? HOT 2
- Support running Nova in-cluster? HOT 3
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 nova.