Closed jakefhyde closed 2 months ago
Note - Additional work on top of https://github.com/rancher/dashboard/issues/10824.
The referenced ui code was the only place i found that contained either string
@jakefhyde In places like this what would be the alternative, Would whatever consumes that value have to lookup the root directly given the custom data-dir setting?
Edit: And nice catch!
@richard-cox That's a good catch, I'm leaning towards we should always populate this field, since if the setting changed we wouldn't want to update all the clusters. I'll bring this up with the team and sync up with @mattfarina to make sure that won't have any downsides.
tested on v2.9.0-rc3. Validated with @noahgildersleeve and the UI is sending the payload as expected
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: