Skip to content

Conversation

aanm
Copy link
Member

@aanm aanm commented Apr 22, 2020

Configure k8s as soon as possible so that k8s.IsEnabled() has the right
behavior from the start of the Cilium agent initialization.

Fixes: 604dab4 ("pkg/k8s: detect k8s mode if env variable K8S_NODE_NAME is set")
Signed-off-by: André Martins andre@cilium.io

Fixes #11097

Configure k8s as soon as possible so that k8s.IsEnabled() has the right
behavior from the start of the Cilium agent initialization.

Fixes: 604dab4 ("pkg/k8s: detect k8s mode if env variable K8S_NODE_NAME is set")
Signed-off-by: André Martins <andre@cilium.io>
@aanm aanm added pending-review release-note/misc This PR makes changes that have no direct user impact. labels Apr 22, 2020
@aanm aanm requested a review from a team April 22, 2020 10:18
@aanm
Copy link
Member Author

aanm commented Apr 22, 2020

test-me-please

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 44.64% when pulling f504b62 on pr/fix-11097 into 37abed5 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to run cilium-agent as standalone process with --k8s-kubeconfig-path
4 participants