-
Notifications
You must be signed in to change notification settings - Fork 9
Adds command line parameter to control the pod cidr the agent requests from Kubernetes #50
Conversation
…pty string, instead of the hard coded default of 10.244.0.0 which causes issues for clusters that have something else configured. This should cause Kubernetes to assign a valid cidr from the configured range.
Also changed the default for this value to an empty 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.
Minor comments, feel free to merge or change
There are a bunch of clippy warnings but I believe they are unrelated |
I've reverted the rust toolchain to stable so that the clippy check passes. |
In that case I propose we build on both stable and nightly where stable works. And then make only stable a required check |
But that wouldn't work for anything were we want backtrace enabled for example - which is the root cause of this discussion. Can we pick a specific nightly version in the github action? Then we can update that every two weeks or so. That'll at least give us some predictability while still enabling to use nightly features. |
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's one more instance of ip->IP
@@ -164,7 +164,7 @@ impl AgentConfig { | |||
default: Some(""), | |||
required: false, | |||
takes_argument: true, | |||
help: "An ip range in CIDR notation which designates the range that pods assigned to this node should have their ip addresses in.", | |||
help: "An IP range in CIDR notation which designates the range that pods assigned to this node should have their ip addresses in.", |
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's one more "ip" in here.
No description provided.