Skip to content

[Bug]: Cannot deploy LLM provider with security disabled #2950

Description

@RakhithaRR

Please select the area the issue is related to

AI Workspace

Please select the aspect the issue is related to

Aspect/AI (AI/LLM integration, MCP, AI readiness)

Description

LLM Providers cannot be deployed to the gateway if security has been disabled. The following error is observed on the gateway.

 time=2026-07-28T10:40:32.279Z level=ERROR source=/build/pkg/controlplane/client.go:2138 msg="Failed to create LLM provider from YAML" provider_id=019fa848-95b4-74b8-9ea8-2a6a60c2f716 error="failed to deploy LLM provider configuration from YAML: provider validation failed with 1 error(s): 1. spec.upstream.auth.value: Auth value is required when api-key auth type is set"

Steps to Reproduce

  1. Create an LLM Provider without adding any upstream authentication (this is anyway optional)
  2. Deploy the LLM Provider to the gateway

Severity Level of the Issue

Severity/Major (Important functionality is broken. Should be prioritized. Doesn't need immediate attention)

Environment Details (with versions)

No response

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions