Skip to content

Commit

Permalink
hardcode /var/run/calico as the location of the endpoint-status dir (…
Browse files Browse the repository at this point in the history
…container path should not use host-path of mount
  • Loading branch information
aaaaaaaalex committed Jan 16, 2025
1 parent c698516 commit 393b1d8
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 393b1d8

Please sign in to comment.