-
Notifications
You must be signed in to change notification settings - Fork 1.5k
baremetal: add NetworkConfig field #5207
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
baremetal: add NetworkConfig field #5207
Conversation
b514c0a to
32f08a1
Compare
asalkeld
left a comment
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 mostly good to me, but not an installer guru..
|
/label platform/baremetal |
32f08a1 to
4d25357
Compare
|
/retest |
4d25357 to
c8b3f5c
Compare
6ee4b61 to
7a9d18c
Compare
|
/retest |
kirankt
left a comment
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 to me, but lets wait for the enhancement to merge before committing this.
/hold
|
/approve |
|
LGTM |
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
/test e2e-metal-assisted |
Because this PR did not yet merge, and the rehearsal jobs are used to catch any regression before that point - and it looks like there's an assisted test configured in the installer repo which passed until now, without showing any evidence related to such change. |
|
/retest |
|
@romfreiman @andfasano |
|
/retest |
1 similar comment
|
/retest |
|
/hold cancel |
kirankt
left a comment
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.
/approve
|
/retest |
|
/lgtm |
staebler
left a comment
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.
/approve
pkg/types/baremetal/platform.go
Outdated
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.
Please add documentation here for this field so that it shows up in the openshift-install explain output.
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.
I saw that Host fields have been documented just here. Do you maybe mean adding a description also for all of them?
pkg/types/baremetal/platform.go
Outdated
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.
Are we sure that we want this to be a string rather than a map[string]interface{}? I would expect the user to want to enter in-line yaml rather than a text string.
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.
The installer manages it essentially as a blob (it will be stored also in a secret, see PR 5247) and will pass it as it is to the image builder container (with a just a minimal validation).
Allow to specify desidered host networking settings yaml compatible with NMState as a new install-config field. Validation rule ensures that the string is at least a valid generic yaml.
47e1f2c to
e367de3
Compare
|
/retest-required |
|
@andfasano: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
kirankt
left a comment
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.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kirankt, staebler The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
This PR adds a new
install-configfield to store network configuration data (with validation) as described in the enhancement openshift/enhancements#817