rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
465 stars 264 forks source link

RKE template allowing override for private registry doesn't actually let you configure private registry #5440

Open catherineluse opened 2 years ago

catherineluse commented 2 years ago

Setup

Describe the bug

Even if the RKE template allows you to configure a private registry in the cluster config form, you can't actually configure it because the fields for the private registry config options are disabled.

To Reproduce

  1. Create an RKE template allowing user override for enable private registry
  2. Create an RKE cluster from the RKE template
  3. Go to the RKE cluster and click Edit Config
  4. In the private registry section, there's a radio button letting you toggle between enable and disable. When enable is selected, the fields to configure the registry are still disabled.

Result In the private registry section, there's a radio button letting you toggle between enable and disable. When enable is selected, the fields to configure the registry are still disabled.

Expected Result When enable is selected, the fields to configure the registry should be enabled.

catherineluse commented 2 years ago

Nancy saw a similar issue for etcd shapshot targets. image