Comments (2)
More hints: when I fly intercept
into the check container, I do find a fully set up container.
Manually running export release=datahub
and then executing the bottom half of the check script:
if [ "$current_rev" -eq "0" ]; then
# Empty => return the current
helm history $release $tls_flag | tail -n 1 | while read -r line; do
revision=$(echo $line | awk '{ print $1 }')
echo "$revision"
done | jq -R '.' | jq -s "map({\"revision\": ., \"release\": \"$release\"})"
else
# All versions equal and newer
helm history $release $tls_flag | tail -n +2 | while read -r line; do
revision=$(echo $line | awk '{ print $1 }')
if [ -z "$current_rev" ] || [ "$revision" -ge "$current_rev" ]; then
echo "$revision"
fi
done | jq -R '.' | jq -s "map({\"revision\": ., \"release\": \"$release\"})"
fi
Gives me the correct result.
Going one step further and dropping in a payload:
{
"source": {
"cluster_url": "https://...",
"cluster_ca": "...",
"admin_key": "...",
"admin_cert": "...",
"release": "robot",
"namespace": "robot"
}
}
Running cat payload.json | /opt/resource/check
-> works.
I have no idea what else could be going wrong here. Something during the initial setup?
from concourse-helm-resource.
Well, no, not even during initial setup:
rm -rf /root/.kube /root/.helm
cat payload.json | bash -ex /opt/resource/check
Works perfectly.
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.