-
Notifications
You must be signed in to change notification settings - Fork 549
Description
📜 Description
Adding variables to the base path of external links always become lowercase after saving it.

👟 Reproduction steps
Go it global configuration > External Links > Create a external that containers variables which contains at least one uppercase, e.g. {appName}
, {containerName}
👍 Expected behavior
It should save the actual variable

👎 Actual Behavior
Only variables in the sub-path would be saved in camelCase, the variable inside the base path will be lowercased.

The link failed to resolve:

The only situation works is when using the {namespace}
as it does not contain any uppercase.

☸ Kubernetes version
1.33.4 On-premise, installed using kubeadm.
I believe this is a validation problem, the Kubernetes version should not affect this.
Cloud provider
On-permise
I believe this is a validation problem, the cloud provider should not affect this.
🌍 Browser
Chrome
🧱 Your Environment
I am exposing devtron using Istio, using a virtual IP assigned by kube-vip in local environment.
✅ Proposed Solution
Either move the validation of base paths to the moment when users visit the link, instead of when saving the link; or change the variables from camelCase
to snake_case
.
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find any similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct