rancher / capi-ui-extension

Rancher Extension used in rancher/dashboard for Rancher Turtles CAPI Provisioning UI.
Apache License 2.0
8 stars 8 forks source link

[BUG] CAPI Explorer - Unable to create resources using yaml file with multi documents #15

Closed cpinjani closed 7 months ago

cpinjani commented 10 months ago

Setup

Describe the bug While creating CAPI resources, using yaml file with multi documents separated by --- results in error: YAMLException: expected a single document in the stream, but found more

To Reproduce

Expected Result User must be able to create resources using yaml file with multi documents

Screenshots image

mantis-toboggan-md commented 7 months ago

Expected Result User must be able to create resources using yaml file with multi documents

This is not the expected behaviour of the 'Create from YAML' button: the CAPI UI extension is in line with the Rancher Dashboard on this one. Users can upload yaml file with multi documents by using the 'import yaml' action within cluster explorer