dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Internal error saving certificates in RKE2 clusters creation

Open torchiaf opened this issue 10 months ago • 2 comments

Setup

  • Rancher version: v2.9-head

Describe the bug

Users can specify a list of registries to allow Rancher to pull container images from those registries during cluster provisioning. For each registry, users can specify an authentication certificate, in base64 format.

If the certificate is in wrong format, a server error is displayed on top of the form.

To Reproduce

  • Go to Cluster Managements -> Create a new RKE2 cluster
  • Click on Registries tab in Cluster Configuration section
  • Enable Cluster registries
  • Click on Advanced
  • Add a new Registry Authentication -> set 'Registry Hostname', 'Authentication' and an invalid SSH key to 'CA cert bundle' field
  • Click Save

Result

Rancher returns a server error

Expected Result

  • The Ui should translate the user's input in base64 format in request's payload. or
  • There should be a tooltip icon in the certificate's input field, saying what format is expected.

Screenshots

image (8)

Additional context

from #discuss-rancher channel

torchiaf avatar Mar 28 '24 19:03 torchiaf