fix: inject forgejo-mcp API key as proxy bearer token
This commit is contained in:
parent
11eec35557
commit
758df0625a
1 changed files with 6 additions and 1 deletions
|
|
@ -22,11 +22,16 @@ spec:
|
||||||
- --external-url=https://git-mcp-oauth.dumpnet.chat
|
- --external-url=https://git-mcp-oauth.dumpnet.chat
|
||||||
- --no-auto-tls=true
|
- --no-auto-tls=true
|
||||||
- --listen=:8080
|
- --listen=:8080
|
||||||
- --proxy-forward-authorization=true
|
- --proxy-bearer-token=$(FORGEJO_MCP_API_KEY)
|
||||||
- http://forgejo-mcp.mcp.svc.cluster.local
|
- http://forgejo-mcp.mcp.svc.cluster.local
|
||||||
env:
|
env:
|
||||||
- name: DATA_PATH
|
- name: DATA_PATH
|
||||||
value: /data
|
value: /data
|
||||||
|
- name: FORGEJO_MCP_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: forgejo-mcp-secrets
|
||||||
|
key: FORGEJO_MCP_API_KEY
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: mcp-auth-proxy-secrets
|
name: mcp-auth-proxy-secrets
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue