Update default rke2 configuration file path #475
Labels
kind/feature
New feature or request
needs-priority
Indicates an issue or PR needs a priority assigning to it
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Describe the solution you'd like:
Rke2 configuration file path is Defined with static and cannot be override (
cluster-api-provider-rke2/bootstrap/internal/controllers/rke2config_controller.go
Line 441 in c42dfc8
It mean that all spécific rke2 node configuration have to update this yaml file wich can be tricky
Why do you want this feature:
It should be interesting to update de default file location to /etc/rancher/rke2/config.yamld/50-capi.yaml
In order to give the ability to create other custom file wich will be nativelly marged by rke2 binary
or give the ability to the user to chose the filepath within rke2controlplane crd Spec.
Anything else you would like to add:
I would like to do the pull request but changing default file path location could break users configuration and add custom parameter crd field could increase code complexity.
how could we improve customization in a simple way ?
The text was updated successfully, but these errors were encountered: