Skip to content
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

Merged
merged 1 commit into from
Sep 28, 2021
Merged

Conversation

tomkennedy513
Copy link
Collaborator

  • only allow the kpack controller to create builds with notary configs

@codecov-commenter
Copy link

codecov-commenter commented Sep 28, 2021

Codecov Report

Merging #836 (bf6b013) into main (949cbfe) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            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              
Impacted Files Coverage Δ
pkg/apis/build/v1alpha2/build_validation.go 89.74% <100.00%> (+0.70%) ⬆️
pkg/apis/build/v1alpha2/image_validation.go 98.05% <100.00%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 949cbfe...bf6b013. Read the comment docs.

@jromero jromero linked an issue Sep 28, 2021 that may be closed by this pull request
@@ -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", "")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate Notary Image Signing in v1alpha2
5 participants