summaryrefslogtreecommitdiff
path: root/common/constants
diff options
context:
space:
mode:
authorShelley-BaoYue <baoyue2@huawei.com>2023-12-02 16:40:18 +0800
committerShelley-BaoYue <baoyue2@huawei.com>2023-12-02 16:40:18 +0800
commitdb4a763f0795220819928ee5ed4933d4a93c950e (patch)
treeee6210dee0732868658733908e42ee36318263bf /common/constants
parentMerge pull request #5174 from wbc6080/updateconfig (diff)
downloadkubeedge-db4a763f0795220819928ee5ed4933d4a93c950e.tar.gz
fix default staticPodPath in windows
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
Diffstat (limited to 'common/constants')
-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 90c60df40..d3ecf7203 100644
--- a/common/constants/default.go
+++ b/common/constants/default.go
@@ -153,9 +153,6 @@ const (
DefaultMosquittoContainerName = "mqtt-kubeedge"
DeployMqttContainerEnv = "DEPLOY_MQTT_CONTAINER"
- // DefaultManifestsDir edge node default static pod path
- DefaultManifestsDir = "/etc/kubeedge/manifests"
-
// EdgeHub
DefaultWebSocketPort = 10000
DefaultQuicPort = 10001
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\\"
)