You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a tool test-server2 but it never appeared.
The UI shows Deployment Status for 'test-server2': Deploying Message: Deployment not found and oc -n team1 get deployments shows "No resources found in team1 namespace.".
I suspect things failed because due to a cut-and-paste error I tried to define the Env var MCP_TRANSPORT=http with value http. I think that K8s does not allow env vars with some special characters.
Steps To Reproduce
Recreate a tool, maybe with an invalid env var name.
Expected Behavior
Env vars with bogus values should be flagged as invalid by UI
Additional Context
The reason I deleted and recreated the tool was to add environment variables.
The logs generated by "oc -n kagenti-system logs deployment/kagenti-ui" do not have timestamps. If they did, the problem might be easier to debug.
I imported flight-tool from source, adding env var ^ with value ^
That deployment build and reaches "Ready"
The pod now starts and oc -n team1 get deployment flight-tool -o yaml shows
Activity
cwiklik commentedon Oct 1, 2025
Looks like the UI needs to validate both name and value. The web search suggests that valid env var must have:
A-Z,a-z0-9_and..
Does the above seem right?
@pdettori @esnible
pdettori commentedon Oct 1, 2025
but the value could be any string if is in quotes, no ? for example, can it be "127.0.0.1" (which starts with a digit)
cwiklik commentedon Oct 1, 2025
Right, the value can be anything. The name must be validated.
RyanJenkins99 commentedon Jan 22, 2026
Looking into this!
esnible commentedon Feb 3, 2026
I imported flight-tool from source, adding env var
^with value^That deployment build and reaches "Ready"
The pod now starts and
oc -n team1 get deployment flight-tool -o yamlshows... - name: ^ value: ^Closing because the behavior is expected.
Fix rossoctl#233: Add backend validation for environment variable names
Merge pull request #548 from RyanJenkins99/fix/233-env-var-validation
chore: remove disabled template and PR reference comment