Skip to content

Conversation

@uniemimu
Copy link
Contributor

@uniemimu uniemimu commented Nov 2, 2020

This adds the initImage field to the custom resource definition
and takes it into use.

Closes: #474

Signed-off-by: Ukri Niemimuukko [email protected]

@uniemimu uniemimu requested review from mythi and rojkov November 2, 2020 12:40
@mythi
Copy link
Contributor

mythi commented Nov 2, 2020

@codecov-io
Copy link

codecov-io commented Nov 3, 2020

Codecov Report

Merging #491 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #491      +/-   ##
==========================================
- Coverage   56.43%   56.41%   -0.03%     
==========================================
  Files          30       30              
  Lines        2036     2035       -1     
==========================================
- Hits         1149     1148       -1     
  Misses        816      816              
  Partials       71       71              
Impacted Files Coverage Δ
cmd/fpga_plugin/dfl.go 100.00% <0.00%> (ø)
cmd/fpga_plugin/opae.go 100.00% <0.00%> (ø)
cmd/fpga_plugin/fpga_plugin.go 69.86% <0.00%> (+0.20%) ⬆️

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 25a52b0...f812f74. Read the comment docs.

@mythi
Copy link
Contributor

mythi commented Nov 3, 2020

LGTM now, I'll give it a try this week

Copy link
Contributor

Choose a reason for hiding this comment

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

I tested this PR and noticed the updates wont work. This func needs changes still.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe now?

Copy link
Contributor

Choose a reason for hiding this comment

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

@uniemimu this works now: tested CR creation without initImage, then added initImage (reconcile OK) and finally removed initImage (reconcile also OK). Can you move this 'ready for review'

@uniemimu uniemimu requested a review from mythi November 9, 2020 09:59
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a third plugin that makes use of this function defined in a FPGA-related file. Perhaps makes sense to move it to an internal package.

This adds the initImage field to the custom resource definition
and takes it into use.

The fpga webhook image validation function is split off into a
separate file.

Signed-off-by: Ukri Niemimuukko <[email protected]>
@uniemimu uniemimu marked this pull request as ready for review November 10, 2020 06:09
@uniemimu uniemimu requested a review from bart0sh as a code owner November 10, 2020 06:09
@uniemimu uniemimu requested a review from rojkov November 10, 2020 06:10
Copy link
Contributor

@rojkov rojkov left a comment

Choose a reason for hiding this comment

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

LGTM!

@mythi mythi merged commit 047f333 into intel:master Nov 10, 2020
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.

GpuDevicePlugin CRD: deploy NFD hook

4 participants