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