summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShelley-BaoYue <baoyue2@huawei.com>2023-12-02 16:40:18 +0800
committerShelley-BaoYue <baoyue2@huawei.com>2023-12-06 11:20:15 +0800
commitb6f969da7115890c2e9ce95ddb1ba63e69bc1d2d (patch)
treee509ebd10f27da869d95e84c79e411386c51fad9
parentMerge pull request #5240 from Shelley-BaoYue/automated-cherry-pick-of-#5239-u... (diff)
downloadkubeedge-b6f969da7115890c2e9ce95ddb1ba63e69bc1d2d.tar.gz
fix default staticPodPath in windows
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
-rw-r--r--common/constants/default.go3
-rw-r--r--common/constants/default_others.go3
-rw-r--r--common/constants/default_windows.go3
3 files changed, 6 insertions, 3 deletions
diff --git a/common/constants/default.go b/common/constants/default.go
index 81b06bc7c..3480da4e5 100644
--- a/common/constants/default.go
+++ b/common/constants/default.go
@@ -152,7 +152,4 @@ const (
DeafultMosquittoContainerName = "mqtt-kubeedge"
DeployMqttContainerEnv = "DEPLOY_MQTT_CONTAINER"
-
- // DefaultManifestsDir edge node default static pod path
- DefaultManifestsDir = "/etc/kubeedge/manifests"
)
diff --git a/common/constants/default_others.go b/common/constants/default_others.go
index 20defe4a7..ed6891818 100644
--- a/common/constants/default_others.go
+++ b/common/constants/default_others.go
@@ -30,4 +30,7 @@ const (
DefaultCNIBinDir = "/opt/cni/bin"
DefaultCNICacheDir = "/var/lib/cni/cache"
DefaultVolumePluginDir = "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/"
+
+ // DefaultManifestsDir edge node default static pod path
+ DefaultManifestsDir = "/etc/kubeedge/manifests"
)
diff --git a/common/constants/default_windows.go b/common/constants/default_windows.go
index 021ed739c..54e0400d5 100644
--- a/common/constants/default_windows.go
+++ b/common/constants/default_windows.go
@@ -33,4 +33,7 @@ const (
DefaultCNIBinDir = "c:\\opt\\cni\\bin"
DefaultCNICacheDir = "c:\\var\\lib\\cni\\cache"
DefaultVolumePluginDir = "C:\\usr\\libexec\\kubernetes\\kubelet-plugins\\volume\\exec\\"
+
+ // DefaultManifestsDir edge node default static pod path
+ DefaultManifestsDir = "c:\\etc\\kubeedge\\manifests\\"
)