Skip to content

Bug: Variables in the Base Paths of Dynamic External Links Always Become Lowercase. #6808

@HumphreyKwok

Description

@HumphreyKwok

📜 Description

Adding variables to the base path of external links always become lowercase after saving it.

Image

👟 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

Image

👎 Actual Behavior

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

Image

The link failed to resolve:

Image

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

Image

☸ 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.

Chrome Version:
Image

✅ 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?

Metadata

Metadata

Labels

bugSomething isn't workingneeds-triageIssue is not approved or ready-to-work on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions