-
Notifications
You must be signed in to change notification settings - Fork 8
Rancher provisioned/managed RKE2/K3s data-dir support #278
Copy link
Copy link
Open
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:
- https://github.com/rancher/cis-operator/blob/3d4aa3e0a103b738fb810b2cc186f6fc84883609/pkg/securityscan/job/job.go#L213
- https://github.com/rancher/cis-operator/blob/3d4aa3e0a103b738fb810b2cc186f6fc84883609/pkg/securityscan/core/templates/pluginConfig.template#L42
- https://github.com/rancher/cis-operator/blob/3d4aa3e0a103b738fb810b2cc186f6fc84883609/pkg/securityscan/core/templates/pluginConfig.template#L114
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels