-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecrets.yaml.example
More file actions
49 lines (46 loc) · 1.94 KB
/
Copy pathsecrets.yaml.example
File metadata and controls
49 lines (46 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: v1
kind: Secret
metadata:
name: open-llm-proxy-secrets
type: Opaque
stringData:
# Required: NRP API key for the ELLM endpoint (most deployments only need this provider)
nrp-api-key: "your-nrp-api-key-here"
# Required: proxy key for client authentication — generate a random token
proxy-key: "your-proxy-key-here"
# Optional: isolates NRP cached responses from other tenants
# Generate with: python3 -c "import secrets,base64; print(base64.b64encode(secrets.token_bytes(32)).decode())"
cache-salt: "your-base64-cache-salt-here"
# NOTE: This is an EXAMPLE file showing the structure of the secrets.
#
# DO NOT commit the actual secrets file to git!
#
# To create the secret with kubectl:
# kubectl create secret generic open-llm-proxy-secrets \
# --from-literal=nrp-api-key='your-nrp-api-key' \
# --from-literal=proxy-key='your-proxy-key' \
# -n <your-namespace>
#
# S3 logging (optional):
# If your namespace has an `aws` secret with AWS_ACCESS_KEY_ID and
# AWS_SECRET_ACCESS_KEY, the proxy will flush logs to S3 automatically.
# Set the LOG_BUCKET env var in deployment.yaml to your bucket name.
# If no S3 credentials are present, logs go to pod stdout only.
#
# Additional providers (optional):
# Most deployments only need NRP. To add OpenRouter or Nimbus, create
# these secrets in your namespace and uncomment the corresponding env
# vars in deployment.yaml:
#
# kubectl create secret generic openrouter-key \
# --from-literal=OPENROUTER_KEY='your-key' -n <your-namespace>
#
# kubectl create secret generic nimbus-api-key \
# --from-literal=NIMBUS_API_KEY='your-key' -n <your-namespace>
#
# Anthropic (direct, OpenAI-compatible endpoint — bills the Developer
# Platform API, NOT the Claude.ai Team plan; create the key in the
# Console under the same org as an org admin):
#
# kubectl create secret generic anthropic-api-key \
# --from-literal=ANTHROPIC_API_KEY='sk-ant-...' -n <your-namespace>