-
Notifications
You must be signed in to change notification settings - Fork 78
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
cluster: skip verification if locally created #1026
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1026 +/- ##
==========================================
- Coverage 54.02% 53.75% -0.28%
==========================================
Files 124 124
Lines 13791 13913 +122
==========================================
+ Hits 7451 7479 +28
- Misses 5295 5376 +81
- Partials 1045 1058 +13
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@@ -155,6 +162,10 @@ func (d Definition) Verify() error { | |||
} | |||
} | |||
|
|||
if noSigs > 0 && noSigs != len(d.Operators) { |
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.
so, either no one signs OR all of them sign, only then we consider it verified?
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.
yup
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.
hope we have tests for it
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.
Looks good!
Verification of unsigned
charon create cluster
lock files succeed avoiding the need for--no-verify
.category: bug
ticket: #1025