-
Notifications
You must be signed in to change notification settings - Fork 40k
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
the image check when rolling update should consider image tag latest as well #23516
the image check when rolling update should consider image tag latest as well #23516
Conversation
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
…er the image with tag latest should be excluded
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
e107f5a
to
d27a30d
Compare
CLAs look good, thanks! |
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
1 similar comment
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
Labelling this PR as size/XS |
LGTM. Thanks for submitting the fix! |
GCE e2e build/test passed for commit d27a30d. |
The author of this PR is not in the whitelist for merge, can one of the admins add the 'ok-to-merge' label? |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit d27a30d. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit d27a30d. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit d27a30d. |
Automatic merge from submit-queue |
@jlowdermilk @Kargakis @ironcladlou: Are you ok with this change? |
This check was actually added specifically to disable I would be ok with supporting |
To reiterate, we disabled |
It only affects |
Removing label |
@jlowdermilk Should we revert this PR, if we believe it doesn't work? |
My vote is for reverting and re-adding with proper support for the |
@jlowdermilk also noted, if there is no tag, it should be considerred as |
I'll take a look to see what's left, as you said, check the That's true, the |
@janetkuo Please revert this. |
@janetkuo @zhouhaibing089 If we're able to fix it tomorrow, I'm also fine with that. |
@bgrant0607 I'll take some time to look at it. :) |
@bgrant0607 @jlowdermilk after a little study, I think it is good to generate a warning when the file hash is the same, but for the rolling update, I would suggest using another value, timestamp may be a consideration.. even the file is the same, rolling update should still proceed on just as before. |
@zhouhaibing089, the hash is generated not for the file, but for the full api object as returned from the server. This includes the I mentioned this can be resolved by requiring user to specify a |
@jlowdermilk if i understand correctly, we do not update it, just get the old rc, and replace the image field, and create a new.. so when we replacing the image field, we have to replace the |
@zhouhaibing089, correct, the issue is that value of |
when the specified image tag is
latest
, we should proceed on the rolling update. see #23497