add groupRef
This commit is contained in:
@@ -26,6 +26,8 @@ spec:
|
||||
# the token natively on the `mcp` container via podTemplateSpec.
|
||||
podTemplateSpec:
|
||||
spec:
|
||||
groupRef:
|
||||
name: homelab-core
|
||||
containers:
|
||||
- name: mcp
|
||||
env:
|
||||
|
||||
@@ -19,6 +19,8 @@ spec:
|
||||
# inject the token natively on the `mcp` container via podTemplateSpec.
|
||||
podTemplateSpec:
|
||||
spec:
|
||||
groupRef:
|
||||
name: homelab-core
|
||||
containers:
|
||||
- name: mcp
|
||||
env:
|
||||
|
||||
@@ -12,6 +12,8 @@ spec:
|
||||
transport: stdio
|
||||
proxyMode: streamable-http
|
||||
proxyPort: 8080
|
||||
groupRef:
|
||||
name: homelab-core
|
||||
# Pin the MCP server pod to our read-only ServiceAccount. The ClusterRole is
|
||||
# the real guardrail: even if a write tool is invoked, the API rejects it.
|
||||
serviceAccount: kubernetes-mcp
|
||||
|
||||
Reference in New Issue
Block a user