Skip to content

How to set ANTHROPIC_API_KEY in the Helm Chart ? #169

@heiba

Description

@heiba

Description

HyperDX now displays the following message in the UI:

New AI Assistant available, enable with configuring the ANTHROPIC_API_KEY environment variable on the HyperDX server.

However, there doesn't appear to be a way to set this environment variable through the Helm chart values.

Request

Please add support for configuring the ANTHROPIC_API_KEY (and potentially other optional environment variables) via the Helm chart values.

Proposed Solution

Option 1 - Dedicated value:

hyperdx:
  anthropicApiKey: ""
  # or reference an existing secret
  anthropicApiKeySecretRef:
    name: my-secret
    key: ANTHROPIC_API_KEY

Option 2 - Generic extraEnv support:

hyperdx:
  extraEnv:
    - name: ANTHROPIC_API_KEY
      valueFrom:
        secretKeyRef:
          name: anthropic-secret
          key: api-key

Option 2 would be more flexible for any future environment variables without requiring chart changes.

Environment

  • Chart: clickstack/clickstack
  • Deployment: Kubernetes

Workaround

Currently, is there a way to patch the deployment manually or use extraEnv if it already exists? Any guidance on a temporary workaround would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions