-
Notifications
You must be signed in to change notification settings - Fork 769
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
chore: adding annotation to generate VAPB right away once the waiting window is over to protect against clock skews #3773
base: master
Are you sure you want to change the base?
Conversation
… is over to protect against clock skews Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3773 +/- ##
==========================================
- Coverage 54.49% 47.69% -6.81%
==========================================
Files 134 236 +102
Lines 12329 19942 +7613
==========================================
+ Hits 6719 9511 +2792
- Misses 5116 9536 +4420
- Partials 494 895 +401
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one nit
@@ -65,9 +65,12 @@ import ( | |||
|
|||
const ( | |||
BlockVAPBGenerationUntilAnnotation = "gatekeeper.sh/block-vapb-generation-until" | |||
VAPBGenerationAnnotation = "gatekeeper.sh/vapb-generation" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: vapb-generation-lock
or similar to more clearly specify intent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about vapb-generation-state
?
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #3683
Special notes for your reviewer: