Skip to content

[FEATURE] Add pod annotations support to agent Helm chart values #2594

Description

@ewamaslanka01

📋 Prerequisites

📝 Feature Summary

The Agent CRD supports annotations in spec.declarative.deployment, but the agent Helm charts under helm/agents/* don't expose this through Helm values.

❓ Problem Statement / Motivation

When running agent pods alongside tooling that relies on pod annotations, there's currently no way to set these annotations via the Helm chart values for the agents. The global podAnnotations value works for the controller and UI deployments, but is not passed to the Agent CRs, and controller.agentDeployment only exposes podLabels, not an equivalent podAnnotations default.

💡 Proposed Solution

  • Update each agent's Helm chart under helm/agents/* to support annotations value that maps to spec.declarative.deployment.annotations on the Agent CR.
  • Add a global default under controller.agentDeployment.podAnnotations in the parent helm/kagent chart, analogous to the existing controller.agentDeployment.podLabels, so annotations can be applied to all agent pods at once.

🔄 Alternatives Considered

No response

🎯 Affected Service(s)

None

📚 Additional Context

No response

🙋 Are you willing to contribute?

  • I am willing to submit a PR for this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions