-
Notifications
You must be signed in to change notification settings - Fork 881
DNS configuration improvements #3161
Conversation
|
Sorry, this kind of grew out-of-hand. |
| } | ||
| return content | ||
|
|
||
| } |
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.
superfluous newline
pkg/flag/pairlist.go
Outdated
| // EMPTY is a small shortcut for the empty map | ||
| var EMPTY = map[string]string{} | ||
|
|
||
| // NewParList initializes a new pair list |
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.
s/NewParList/NewPairList/
68b1881 to
b2572b0
Compare
| }, | ||
| { | ||
| "name": "coreos.com/rkt/stage1/interface-version", | ||
| "value": "4" |
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 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 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 really need to bump the version - @iaguis would it be OK if I accept --hostname but ignore it? Should I warn?
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.
Spoke to Iago - the only issue with bumping the version was that stage0 will no longer warn on unimplemented flags. So, I moved the warning code to stage1 and bumped the version.
741de87 to
abbfb67
Compare
abbfb67 to
05aeec8
Compare
05aeec8 to
39e994e
Compare
39e994e to
219853e
Compare
networking/netinfo/netinfo.go
Outdated
|
|
||
| const filename = "net-info.json" | ||
|
|
||
| //A type and some structure to represent rkt's view of a *runtime* |
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 a space between // and the comment.
* Respect DNS results from CNI * Add --dns=host mode to bind-mount the host's /etc/resolv.conf * Add --dns=none mode to ignore CNI DNS * Add --hosts-entry (IP=HOSTNAME) to tweak the pod's /etc/hosts * Add --hosts-entry=host to bind-mount the host's /etc/hosts
219853e to
5aca114
Compare
|
Small bug broke rkt fly tests - fixed. This is ready for final review. |
|
LGTM |
cniproxyFixes #2044, #2602, #3081