PE-5119 Support cluster root path (#86)

* bump kairos sdk to v0.4.2

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

* create bind mounts for k3s data,conf dir if cluste root path is provided and is not root

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

* fix version

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

* fix version

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

* fix workflow

* fix: merge conflict

* add precommit config

* fix lint

---------

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>
This commit is contained in:
Nianyu Shen
2024-09-23 13:46:31 -07:00
committed by GitHub
parent aedb950b76
commit 11bb0a01e1
10 changed files with 187 additions and 22 deletions

View File

@@ -29,3 +29,8 @@ const (
// TLS key file used for client certificate based authentication to your datastore.
DatastoreKeyFile string = "datastore-keyfile"
)
const (
ClusterRootPath = "cluster_root_path"
RunSystemdSystemDir = "/run/systemd/system"
)