Comments (8)
Hm, just thinking, shouldn't we take the actually depolyed thing, we already fetch the current revision (in current_revision()
), so we could just parse it from there:
helm history --max 20 concourse | grep "DEPLOYED" | awk '{ print $8 }'
from concourse-helm-resource.
Agreed, that would be nice. I think we should also make it work for local tar.gz/folder-based charts. They also have the version in their Chart.yaml.
I think we should find a helm command that outputs it.. do you know of any way? helm search
ist not optimal since it won't work with local charts.
I propose we use:
helm inspect chart stable/postgresql | spruce json | jq '.version' -r
(prints 0.13.0
)
that will also work for local charts:
helm inspect chart source/my-chart | spruce json | jq '.version' -r
from concourse-helm-resource.
Great, that worked fine. I also set up a Dockerhub build, so the image should now be available as linkyard/helm-chart-resource
on Dockerhub.
I've also created a 0.1.0 version so we can test if everything works.
from concourse-helm-resource.
Wouldn't it be better to model the chart as a resource (check/get) and then deploy from that?
We're currently missing the check/get functionality in this resource and I'm considering adding a second resource "helm-chart" that would be able the check/get/put helm charts from a helm repo ("native" or S3). The helm-chart resource would download the chart to a .tar.gz and you could then do a put using the file and the concourse-helm-resource. That way you'd have full transparency (and control) over the deployed chart version.
What do you think about this proposal?
from concourse-helm-resource.
I think that is definitely a better model of deployment and I was actually thinking of creating a resource like that, heavily based upon this one as well (if I get there first I can donate it to you as you'd probably be better stewards).
Although, I'd like to know what this Helm resource is deploying. I believe this should actually be reported by Helm itself (why not right?), but it isn't at this time. I wonder if there's a better way to get that metadata...
TL;DR: still love to see it here
from concourse-helm-resource.
We're currently missing the check/get functionality in this resource and I'm considering adding a second resource "helm-chart" that would be able the check/get/put helm charts from a helm repo ("native" or S3)
Hey @msiegenthaler I put together https://github.com/arbourd/helm-chart-resource specifically for this reason. It is essentially a fork of your other projects. Only check
and in
have been implemented at this moment.
I'd love to transfer ownership of it to Linkyard (I feel like you'd be great stewards of it) and continue to hack on it.
Are you interested?
from concourse-helm-resource.
Wow, that looks great!
Sure, we'd be glad to take the ownership of it.
from concourse-helm-resource.
Awesome! I've sent the transfer to you directly (because I can't send it to orgs). 🤓
from concourse-helm-resource.
Related Issues (20)
- token_path mentioned under wrong section HOT 1
- deploy chart doesn't work for some reason. HOT 4
- Support for setting values inline (no yaml file) HOT 1
- Failed to ping registry https://https/v2/ HOT 1
- Check doesn't work with TLS and token_path HOT 3
- [ Feature Request ] Tillerless run HOT 3
- check resource fails when source.release != params.release HOT 5
- Release tillerless tag HOT 4
- Release 2.14.0 breaks cluster_ca (and https cluster_urls) HOT 4
- pr115 breaks kubeconfig tiller_namespace
- Add the ability to reset values HOT 1
- pods is forbidden HOT 1
- Querying too many releases at the end of a build causes the build to fail HOT 7
- Escape override_values
- AWS EKS Support
- New release 2.14.3 HOT 1
- Helm 3 HOT 1
- Request update to 2.16.6 HOT 2
- Support --insecure-skip-tls-verify
- Request update to 2.17.0 HOT 2
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 concourse-helm-resource.