Closed saeedfazal closed 1 year ago
Workaround: { "required": false }
Lets make sure the user-guide around "required" vs "editable" is clear, e.g. mention explicitly that if you want to allow the user to deselect a profile then required
must be set to false.
WGE Story/Feature:
Priority
Severity
Describe the bug The
"editable": true
option for default profile doesn't work. Event after declaring the profile as editable, the rendered template shows the profile as selected and disabled.To Reproduce
GitOpsTemplate
orCAPITemplate
resource by adding the default profile annotation to it e.g.capi.weave.works/profile-1: '{"name": "cert-manager", "editable": true, "values": "installCRDs: ${INSTALL_CRDS}"}'
Actual behaviour The rendered template shows the default profile as selected by default but
disabled
. User can not unselect the profileExpected behaviour The rendered template should show the default profile as selected and
enabled
. Used should be able to unselect the profile. The profile should not be the requirement to install.Test Environment N/A
Additional context