busola icon indicating copy to clipboard operation
busola copied to clipboard

FormGroup children working outside of an object

Open kevin-kho opened this issue 4 months ago • 0 comments

Description

FormGroup widget doesn't group fields outside of an object in the CRD. For example, if I have the fields spec.transitEncryptionEnabled and spec.authEnabled, they don't group into a FormGroup.

However, if I changed the CRD so I have a spec.security object with the fields spec.security.transitEncryptionEnabled and spec.security.authEnabled, it properly groups it into a FormGroup

Reasons

This would be useful so users can create FormGroup(ings) of fields that are not part of a single object, or potentially different objects. Of course, the most sensible thing to do would be changing the CRD itself and grouping the fields, but there are cases where the users do not have the ability to do so.

Attachments

See screenshots below where spec.authEnabled and spec.transitEncryptionEnabled do not group into a FormGroup

image image

kevin-kho avatar Oct 08 '24 18:10 kevin-kho