dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Adding registry authentication configs/mirrors throws error on console and adds broken values in YAML

Open momesgin opened this issue 1 year ago • 3 comments

Setup

  • Rancher version: 2.7-head & 2.9-head

Describe the bug

When adding registry authentication configs on cluster's Edit Config page an error gets

To Reproduce

Start an RKE2 cluster creation process with any provider Go to Registries Tab and enable the checkbox Add a registry host Click on "Show Advanced" and add a registry authentication Save it and come back to the page

Screenshots

image image

https://github.com/rancher/dashboard/assets/135728925/21f4d084-26ae-468a-b2b0-0930fafaf491

momesgin avatar Jan 31 '24 18:01 momesgin

cc @gaktive

momesgin avatar Jan 31 '24 19:01 momesgin

/backport v2.8.next1

momesgin avatar Feb 28 '24 23:02 momesgin

For an e2e, one could use https://github.com/rancher/dashboard/pull/10898 as a basis

aalves08 avatar Apr 30 '24 08:04 aalves08

Coverage looks good to me. Tests on generated YAML is enough as unit testing.

izaac avatar May 07 '24 16:05 izaac