RKE2 extraMounts still can't be used #524
Labels
kind/bug
Something isn't working
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Milestone
What happened:
#476 was closed via #504 but AFAICS the configuration format is still incorrect and thus extraMounts still can't be used.
What did you expect to happen:
According to the RKE2 docs, the expected format is:
When passing a config like:
Prior to #504 we saw a format like:
However since the fix we see a format like:
How to reproduce it:
Deploy with a config that specifies extraMounts similar to the
serverConfig
mentioned above.Anything else you would like to add:
AFAICS the problem is we use the componentMapToSlice function which is designed to format for environment variables.
Also note we use the same function in the tests, which is probably unwise since we're not actually testing for the expected format.
The text was updated successfully, but these errors were encountered: