-
Notifications
You must be signed in to change notification settings - Fork 247
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
Drop NFD gRPC API #1910
Drop NFD gRPC API #1910
Conversation
✅ Deploy Preview for kubernetes-sigs-nfd ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/assign @marquiz |
69d7a98
to
b97027c
Compare
Documentation drop is on PR #1912 |
5657490
to
7cec6ed
Compare
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.
Thanks @ArangoGutierrez for taking this effort. It's a good start. A few comments below.
Also a nit about the commit messages 🙄 Let's specify context in format like docs: xyzzy...
instead of bracketted [Documentation]
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.
There seems to be some stale tls leftovers in templates/topologyupdater.yaml
as well. Drop those, too
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.
done
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.
Adding vendor/
?? Let's not at least do it in this PR
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.
meh this was a fat finger, not intended. my bad
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.
done
7145055
to
5fb7a44
Compare
dropped that commit, as I want documentation to be a stand-alone PR |
ed92a84
to
e6ee7ca
Compare
/test pull-node-feature-discovery-e2e-test-master |
e6ee7ca
to
af02c0c
Compare
/milestone v0.17 |
af02c0c
to
c98b504
Compare
c98b504
to
003650c
Compare
@marquiz PR is ready for review |
} | ||
|
||
serverOpts := []grpc.ServerOption{} | ||
tlsConfig := utils.TlsConfig{} |
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.
Drop the TlsConfig stuff from the utils
package, too
klog.InfoS("-key-file is deprecated, will be removed in a future release along with the deprecated gRPC API") | ||
case "port": | ||
klog.InfoS("-port is deprecated, will be removed in a future release along with the deprecated gRPC API") | ||
case "verify-node-name": |
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.
Drop the -verify-node-name
flag from below, too
klog.InfoS("-cert-file is deprecated, will be removed in a future release along with the deprecated gRPC API") | ||
case "key-file": | ||
klog.InfoS("-key-file is deprecated, will be removed in a future release along with the deprecated gRPC API") | ||
case "port": |
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.
Drop the -port
flag from below, too
ConfigFile string | ||
Instance string | ||
KeyFile 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.
Drop port and verifynodename, too
003650c
to
e56f74b
Compare
/test pull-node-feature-discovery-build-image-cross-generic |
2 similar comments
/test pull-node-feature-discovery-build-image-cross-generic |
/test pull-node-feature-discovery-build-image-cross-generic |
@@ -303,14 +277,6 @@ func (w *nfdWorker) Run() error { | |||
return err | |||
} | |||
|
|||
// Create watcher for TLS certificates | |||
w.certWatch, err = utils.CreateFsWatcher(time.Second, w.args.CaFile, w.args.CertFile, w.args.KeyFile) |
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.
Let's drop certWatch
from the nfdWorker
struct, too
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.
done
Instance string | ||
Klog map[string]*utils.KlogFlagVal | ||
Kubeconfig string | ||
Port int |
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.
We should be able to drop the VerifyNodeName
below, too
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.
done
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
e56f74b
to
0bd82cf
Compare
/test pull-node-feature-discovery-build-image-cross-generic |
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.
Thank you @ArangoGutierrez for this effort. If/when we missed something let's drop those with follow-up PRs
/lgtm
LGTM label has been added. Git tree hash: fde9597d75a484789afef44f017b681530fc32b5
|
[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 |
Drop NFD gRPC API
Drop NFD gRPC API
Fixes #1546