fix(mcp): ssh-mcp-key volumeMount 路徑修正 — subPath 對齊 ssh_provider.py
Some checks failed
CD Pipeline / build-and-deploy (push) Failing after 7m45s
Some checks failed
CD Pipeline / build-and-deploy (push) Failing after 7m45s
- ssh_mcp_key → /run/secrets/ssh_mcp_key (SSH_KEY_PATH)
- known_hosts → /etc/ssh-mcp/known_hosts (SSH_MCP_KNOWN_HOSTS_FILE)
同步: K8s Secret 重建(含 ssh_mcp_key + known_hosts)
188/110 authorized_keys 已加入公鑰
SSH 連線驗證: 188 OK / 110 OK
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -72,8 +72,15 @@ spec:
|
||||
subPath: service-registry.yaml
|
||||
readOnly: true
|
||||
# MCP Phase 2a (2026-04-11 Claude Sonnet 4.6): SSH MCP key
|
||||
# ssh_mcp_key → /run/secrets/ssh_mcp_key (SSH_KEY_PATH in ssh_provider.py)
|
||||
# known_hosts → /etc/ssh-mcp/known_hosts (SSH_MCP_KNOWN_HOSTS_FILE)
|
||||
- name: ssh-mcp-key
|
||||
mountPath: /etc/ssh-mcp
|
||||
mountPath: /run/secrets/ssh_mcp_key
|
||||
subPath: ssh_mcp_key
|
||||
readOnly: true
|
||||
- name: ssh-mcp-key
|
||||
mountPath: /etc/ssh-mcp/known_hosts
|
||||
subPath: known_hosts
|
||||
readOnly: true
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in New Issue
Block a user