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

Allow empty secret refs in service bindings #887

Merged
merged 1 commit into from
Nov 18, 2021
Merged

Conversation

tomkennedy513
Copy link
Collaborator

  • Prevent nil pointer deref when secret ref is empty on service bindings

Co-authored-by: Matthew McNew mmcnew@vmware.com
Co-authored-by: Kenneth DuMez kdumez@vmware.com

@codecov-commenter
Copy link

Codecov Report

Merging #887 (326ae25) into main (ab7c188) will increase coverage by 0.68%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #887      +/-   ##
==========================================
+ Coverage   67.39%   68.08%   +0.68%     
==========================================
  Files         116      116              
  Lines        5233     5164      -69     
==========================================
- Hits         3527     3516      -11     
+ Misses       1343     1287      -56     
+ Partials      363      361       -2     
Impacted Files Coverage Δ
pkg/buildpod/generator.go 66.66% <100.00%> (+0.51%) ⬆️
pkg/apis/build/v1alpha2/build.go 31.14% <0.00%> (-0.49%) ⬇️
pkg/apis/build/v1alpha1/build.go 7.40% <0.00%> (+1.72%) ⬆️

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 ab7c188...326ae25. Read the comment docs.

Copy link
Contributor

@dumez-k dumez-k left a comment

Choose a reason for hiding this comment

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

nice!

- Prevent nil pointer deref when secret ref is empty on service bindings

Co-authored-by: Matthew McNew <mmcnew@vmware.com>
Co-authored-by: Kenneth DuMez <kdumez@vmware.com>
@tomkennedy513 tomkennedy513 merged commit 5c07ecf into main Nov 18, 2021
@tomkennedy513 tomkennedy513 deleted the empty-secret-ref branch November 18, 2021 19:34
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.

5 participants