Skip to content

Commit

Permalink
Merge pull request #3701 from aaaaaaaalex/bug/endpointstatuspathprefi…
Browse files Browse the repository at this point in the history
…x-hardcode

hardcode /var/run/calico as the location of the endpoint-status dir
  • Loading branch information
tmjd authored Jan 16, 2025
2 parents c698516 + 393b1d8 commit 3efea82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/render/node.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2019-2024 Tigera, Inc. All rights reserved.
// Copyright (c) 2019-2025 Tigera, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -1665,7 +1665,7 @@ func (c *nodeComponent) nodeEnvVars() []corev1.EnvVar {
*c.cfg.Installation.CalicoNetwork.LinuxPolicySetupTimeoutSeconds > 0 {
nodeEnv = append(nodeEnv, corev1.EnvVar{
Name: "FELIX_ENDPOINTSTATUSPATHPREFIX",
Value: c.varRunCalicoVolume().VolumeSource.HostPath.Path,
Value: "/var/run/calico",
})
}

Expand Down

0 comments on commit 3efea82

Please sign in to comment.