Comments (6)
I wrote a small tool heluxup
which maybe does what you want: https://github.com/ekeih/heluxup 🤔
It looks at all HelmRelease objects in you flux repo, downloads the index.yaml files for all used repos, checks for new releases and updates your HelmRelease files.
It would be possible to extend heluxup to allow limits based on semver, e.g. "only do patch updates". It would also be possible to make automated git commits and pushes, but I did not implement this yet. If you would like such functionalities, feel free to open issues or pull requests: https://github.com/ekeih/heluxup/issues
from helm-whatup.
@cwrau we're using the Flux Helm operator too and we currently just make sure that we have the relevant repos configured locally and just run helm repo update && helm whatup
. If you wanted something more in-cluster and automated you could roll an image to automatically configure helm based on the cluster repos before running helm repo update && helm whatup
. You could then get an outdated report triggered by a cron job.
from helm-whatup.
@ekeih that looks great!! I think a flag to limit by semver would be a very useful addition.
from helm-whatup.
That looks great! Perfect for my usecase!
Still, not having to have the same repos configured could be useful for other people.
from helm-whatup.
I'm not sure I fully understand the use case. In either case, you'd have to tell helm whatup
how to fetch the repository index to determine if there's an update available. heluxup
accomplishes the same task. The only difference is that heluxup
reads a file in a given directory with a list of repositories to accomplish the same task.
How would you imagine this would work?
from helm-whatup.
Looking at helm/helm#4256 I don't think there is a way to figure out the source repos of the installed charts. So I think the answer to the original question Is it possible to check for updates without the need for local repos?
is No
.
With heluxup it only works because with the helm-operator there is a way to store the original chart source repo, but with vanilla helm there isn't.
from helm-whatup.
Related Issues (17)
- Installation error HOT 2
- Install script fails for Mac using versioning HOT 1
- New release HOT 2
- Fork and Update HOT 1
- helm whatup gives multiple entries/results
- Installation error HOT 4
- Core Helm Feature HOT 7
- Installation doesn't work by default on blank Alpine image
- Helm 3 compatibility HOT 7
- helm-whatup installer.sh ignores versioning
- install-binary.sh doesn't cleanup after itself
- Added a simple web front-end to display the data
- MacOS specific install errors HOT 7
- Running `helm repo update` before `helm whatup`?
- Gives error when no chart version found HOT 2
- Support tls flag HOT 17
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 helm-whatup.