apache/openserverless

Task-util-config: allow digits in the name of the configuration keys

Closed this issue · 0 comments

  • Kind of request: feature request

Problem

To create a wizard configurator, a selection of a choice or a multiple selection are needed.

Currently in a configuration JSON file it's not possible to name an item as shown below:

  "MINIO_CONFIG_INGRESS_S3": {
    "label": "Enable S3 ingress component",
    "type": "bool"
  },

Impact

ops tasks developers

Priority

low

Expected outcome

  1. The key MINIO_CONFIG_INGRESS_S3 is allowed

Suggested solution

Modify the isInputConfigValid function with a different regular expression.