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
pkg/k8s: use node name from pkg/node instead of env variable #11834
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please set the appropriate release note label. |
2 similar comments
Please set the appropriate release note label. |
Please set the appropriate release note label. |
aanm
added
the
release-note/misc
This PR makes changes that have no direct user impact.
label
Jun 2, 2020
nebril
approved these changes
Jun 2, 2020
christarazi
approved these changes
Jun 2, 2020
aanm
force-pushed
the
pr/fix-datarace-node
branch
from
June 2, 2020 20:04
64083fc
to
196f90e
Compare
test-me-please |
The node name in the pkg/node is set at `init()` time so there is not point on setting this package variable all over the code. Fixes: 3533fd3 ("pkg/node: give priority to nodeName from K8S_NODE_NAME env variable") Signed-off-by: André Martins <andre@cilium.io>
aanm
force-pushed
the
pr/fix-datarace-node
branch
from
June 2, 2020 20:07
196f90e
to
81fc4f5
Compare
test-me-please |
maintainer-s-little-helper
bot
moved this from Needs backport from master
to Backport pending to v1.8
in 1.8.0
Jun 3, 2020
maintainer-s-little-helper
bot
moved this from Backport pending to v1.8
to Backport done to v1.8
in 1.8.0
Jun 4, 2020
maintainer-s-little-helper
bot
moved this from Backport pending to v1.8
to Backport done to v1.8
in 1.8.0
Jun 4, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The node name in the pkg/node is set at
init()
time so there is notpoint on setting this package variable all over the code.
Fixes: 3533fd3 ("pkg/node: give priority to nodeName from K8S_NODE_NAME env variable")
Signed-off-by: André Martins andre@cilium.io
EDIT: Actually I think it's another occurrence caused by #11836
Fixes: