-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Which component(s) is affected?
Kubero UI
Describe the bug
Hi, the validation rules for environment variable keys are to strict.
They don't allow hypens: -
From the UI:
Only letters, numbers and underscores allowed. Must start with letter or underscore
But hyphens are often used in environment variables.
For example from the Docker Registry image:
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin='[http://registry-ui.example.com]'
To set various headers.
It would be great to allow this.
Steps to reproduce
- Go to the UI and create a new app
- Set a environment variable, who's key contains a
- - Validation error and unable to create app
- Uploading a .env also does not work
Expected behavior
Allow environment variable keys to contain -
Screenshots
No response
Additional information
No response
Debug information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working