-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add serviceport var to CRD #63
Add serviceport var to CRD #63
Conversation
ba6fd58
to
565899e
Compare
@@ -35,6 +37,8 @@ type ResourceStatus int | |||
const ( | |||
Ready ResourceStatus = iota | |||
NotReady | |||
|
|||
servicePort int = 12000 |
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.
Suggest slight renaming:
servicePort int = 12000 | |
defaultServicePort int = 12000 |
This patch allows users to modify the nfd-master Service port via CRD with the variable Operand.ServicePort , will deafult to 12000 when not defined Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
565899e
to
2c8e920
Compare
…controls.go Co-authored-by: Markus Lehtonen <[email protected]>
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
/label tide/merge-method-squash |
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 improvement @ArangoGutierrez!
/label tide/merge-method-squash
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ArangoGutierrez, marquiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Add serviceport var to CRD This patch allows users to modify the nfd-master Service port via CRD with the variable Operand.ServicePort , will deafult to 12000 when not defined Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]> * check for "nfd-master" only once at controllers/nodefeaturediscovery_controls.go Co-authored-by: Markus Lehtonen <[email protected]> * run goftm Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]> Co-authored-by: Markus Lehtonen <[email protected]>
This patch allows users to modify the nfd-master Service port via CRD
with the variable Operand.ServicePort , will deafult to 12000 when not
defined
Signed-off-by: Carlos Eduardo Arango Gutierrez [email protected]