rancher / dashboard

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

[BUG] Annotation disappears while being created #11435

Open susesgartner opened 3 months ago

susesgartner commented 3 months ago

Setup

Describe the bug When adding the "provisioning.cattle.io/allow-dynamic-schema-drop" annotation through the cluster config UI the annotation disappears before adding the value field and upon inspecting the yaml it automatically receives a empty string for value

To Reproduce

  1. Start creating an RKE2 cluster
  2. Go to labels and annotations
  3. Try to create an annotation with "provisioning.cattle.io/allow-dynamic-schema-drop" for the key and false for the value.

Result The annotation will disappear from the UI before typing out the full annotation key Expected Result The annotation is able to be input in the UI and created when you create the cluster

Additional context This annotation was added as part of https://github.com/rancher/rancher/issues/44618

Note: This bug does not exist in 2.8. tested on v2.8-d72c515

Workaround: when creating the cluster set the annotation by using edit yaml.

gaktive commented 3 months ago

@susesgartner let me know if this is a blocker for 2.9.0. Based on the workaround, we can release note this for now and then fix it soon in 2.9.x.