-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
cilium: encryption, use default route interface if encrypt-interface is not specified #8867
Conversation
daemon/daemon_main.go
Outdated
@@ -1323,9 +1319,25 @@ func (d *Daemon) initKVStore() { | |||
} | |||
|
|||
func runDaemon() { | |||
var eif 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.
should drop = "" from declaration of var eif; it is the zero value
de9b5bd
to
0f100b8
Compare
Coverage increased (+0.03%) to 44.18% when pulling 3ac26d88bb5f19be94b41dcb79cd50741d888a56 on DataDog:lbernail/default-encryptif into a96d7f4 on cilium:master. |
0f100b8
to
1441c8f
Compare
@lbernail Agreed it would probably be a bit cleaner if its all moved into initEnv. |
OK, let me update the PR |
@jrfastab I updated the PR to move the logic to initEnv only |
test-me-please |
@lbernail makes sense to me. Squash it all together and I'll kick of testing again. |
Signed-off-by: Laurent Bernaille <laurent.bernaille@datadoghq.com>
3ac26d8
to
fe44538
Compare
@jrfastab Great. I just rebased |
test-me-please |
Build failed: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/14259/execution/node/7/log/ Jenkins slave ran out of disk space. I took the offending Jenkins slave offline; triggering build again. |
test-me-please |
Nice @lbernail! |
This PR completes #8711 "use default route interface if encrypt-interface is not specified"
@jrfastab I used the logic from your initial PR but we now have the same exact code in 3 locations. I wonder if it wouldn't be clearer to put this in initEnv instead. What do you think? I can update the PR
(I tested this change on a test cluster and things look fine)
This change is