Skip to content

Support explicit Deployment and pod annotations for HyperDX #254

Description

@mfroembgen

Problem

hyperdx.deployment.annotations currently renders on spec.template.metadata.annotations, so it configures HyperDX pod annotations. The name does not make that scope clear, and the chart does not expose a value for annotations on the HyperDX Deployment object itself (metadata.annotations).

Proposed change

Expose two explicit, backward-compatible values:

  • hyperdx.deployment.deploymentAnnotations for Deployment metadata.annotations
  • hyperdx.deployment.podAnnotations for spec.template.metadata.annotations

Keep hyperdx.deployment.annotations as a deprecated pod annotation alias so existing values continue to work. When both pod annotation maps contain the same key, podAnnotations should take precedence.

For example:

hyperdx:
  deployment:
    deploymentAnnotations:
      example.com/controller: "enabled"
    podAnnotations:
      example.com/pod: "enabled"

All three values default to empty maps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalOpened by an external contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions