-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple helm chart updates #263
Comments
Hi, looking at Keel config, match-tag is not available in the keel config:
therefore it probably runs an update for your COMMIT_HASH image too |
Hi, So in order to get only Thanks for the fast response! Will let you know if it works shortly! |
yeah, or use plain k8s manifests instead of helm :) |
Hm no, that didn't help. It still runs the update twice in a row. Any other ideas? I run out of mine. |
Is there a way to match a tag by specifying a regex? |
If I swap |
Can you upload the logs when there's only one image pushed but you get two updates? not sure how that could happen. All policy is the same as major, only applicable for semver. Regex matching is something that we want to add :) |
Sorry but what logs? Keel logs? There's nothing but what I already posted above. The lines are always the same. I'm building a single docker image in GCB that gets tagged with BRANCH_NAME and GIT_HASH and then pushed to GCR. Keel picks up the events in pubsub and run the deploys/helm upgrades. And I see the deployment revisions and correct docker images being deployed. I'm also confused to why it deploys twice... |
what do you mean by "tagged with BRANCH_NAME and GIT_HASH", wouldn't that be two images? |
Well I'm building a single image from the master branch that gets multiple tags applied and as such pushed to GCR. |
Okay, so that's where two deploys come since both tags get individual events. Just made a small fix by adding matchTag to the config and checking it.
Could you try out keel's
|
Will try it out in a moment! Thanks! I wonder why am I getting 2 deployments when only one tag for that image matches |
with |
|
You need to update chart (https://github.com/keel-hq/keel/pull/262/files). In a previous version cron job support was added. |
Yup, just noticed that myself. On my way! |
It works as advertised now!
Single update and the correct one, with the matching tag! Thank you for fast response and the fix! |
Hi guys,
My keel setup is acting a bit and I can't find out why.
I have deployed my service through a helm chart. This is my
values.yaml
for that service:and since I'm at an early stage and do not yet have semver tags, my docker image gets
master
tag after each build. Which is why I had to setin my service
deployment.yaml
file.And that works, keel is subscribed to
pubsub
events and I can see the messages coming in whenever a new image with themaster
tag is being built.But something must not be set right since keel runs two deploys for each build. Here's what it says in the log:
So I'm building one image that I tag with both BRANCH_NAME (
master
in this case) and COMMIT_HASH (abc98560f2716e14ca03d26979e25fe7018dc3bd
) and it seems like keel deploys both of them? Why would that be the case?Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: