-
Notifications
You must be signed in to change notification settings - Fork 164
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
deprecate notary support in v1alpha2 #836
Conversation
tomkennedy513
commented
Sep 28, 2021
- only allow the kpack controller to create builds with notary configs
526d73b
to
bf6b013
Compare
Codecov Report
@@ Coverage Diff @@
## main #836 +/- ##
==========================================
+ Coverage 68.72% 68.77% +0.05%
==========================================
Files 114 114
Lines 5042 5051 +9
==========================================
+ Hits 3465 3474 +9
Misses 1207 1207
Partials 370 370
Continue to review full report at Codecov.
|
@@ -169,7 +177,7 @@ func (ib *ImageBuild) Validate(ctx context.Context) *apis.FieldError { | |||
|
|||
func validateCnbBindingsEmpty(bindings corev1alpha1.CNBBindings) *apis.FieldError { | |||
if len(bindings) > 0 { | |||
return apis.ErrDisallowedFields("") | |||
return apis.ErrGeneric("CNB binding support has been deprecated in v1alpha2, please use v1alpha1 for CNB bindings", "") |
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.
Nice.
bf6b013
to
109e912
Compare