Closed mueller-tobias closed 1 year ago
Hi! This is included in the latest release: v6.1.0-rc.1. However, this is a release candidate. We will keep this issue open until it is included in a full release.
Have a nice day!
Regarding RC-1, Somehow I'm not able to enter multiline strings. If I hit enter (or shift + enter) - the focus gets out of the field (i.e. newline not accepted). Also, I I try to copy and paste text from an external editor, the text gets pasted, but the newlines are filtered out. The text field should also look like a multi line text field - currently it is a single line field. Is it possible to change it to a multi-line editing field so that one can easily review and edit it in the rancher GUI?
Ok my bad - did not read the documentation :) In short - here is what you need to do to get the UI working
Now, reload the rancher GUI with Ctrl+F5 after updating the above URLs after this, you should see the multiline box:
@TobiasMuellerES : is the issue fixed now? We would like to close this ticket. Thanks, Martin
Issue is fixed with the Release Candidate and the CustomUI Package
Current SDK Version
Use-cases
With the release of 6.0.1 we've the option to specify cloud-init user-data as base64 string. With that encoded string it's not possible to review the configuration. For customer without that technical knowledge it's not possible to review the cloud-init configuration. Also it's not possible to write the cloud-init configuration in the rancher ui. You've to write the configuration in an editor, encode the content and then paste it in the cloud-init parameter.
Attempted Solutions
Update the parameter to accept a file input or a multi-line string. And example could be the vSphere Node Driver from Rancher Additionally you should generate an Interface file to generate a multi-line string or an file output for the Node Driver.
Proposal
A cloud-init Parameter that's configurable as a multi-line string directly in the rancher node template view.