apache / openserverless

Apache OpenServerless (incubating)
https://openserverless.apache.org
Apache License 2.0
421 stars 14 forks source link

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

Closed dcremonini closed 2 months ago

dcremonini commented 2 months ago

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.