-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
Description
There is currently an ongoing effort to support specifying the RKE2/K3s data-dir argument, which allows a user to change it from the default of /var/lib/rancher/rke2 & /var/lib/rancher/k3s respectively, to a user provided directory. I've found the following instances of these directories hardcoded within the project:
cis-operator/pkg/securityscan/job/job.go
Line 213 in 3d4aa3e
MountPath: `/var/lib/rancher`, path: /var/lib/rancher - mountPath: /var/lib/rancher
Please review the above information, and feel free to reach out to me regarding questions. The api changes can be found within this draft PR within rancher/rancher: https://github.com/rancher/rancher/pull/45326/files#diff-6f7b3ace8ec7df668da64642416a1171322908df345c8e339d314bac3ed08af6R57.
andypitcher and Maetis