ClickHouse / ClickHouse/ClickStack-helm-charts

How to set ANTHROPIC_API_KEY in the Helm Chart ?

Open
#169 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
75
Forks
54
Avg merge
3d 19h
Merged PRs (30d)
7

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.