Skip to content

Commit b63576e

Browse files
Use config to mount kubernetes .kube/config
1 parent 7d815fa commit b63576e

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

servers/kubernetes/server.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,18 @@ about:
1212
icon: https://avatars.githubusercontent.com/u/13629408?s=200&v=4
1313
source:
1414
project: https://github.com/Flux159/mcp-server-kubernetes
15+
run:
16+
volumes:
17+
- '{{kubernetes.config_path}}:/home/appuser/.kube/config'
18+
env:
19+
- name: KUBECONFIG_PATH
20+
value: /home/appuser/.kube/config
21+
config:
22+
description: the path to the host .kube/config
23+
parameters:
24+
type: object
25+
properties:
26+
config_path:
27+
type: string
28+
required:
29+
- path

0 commit comments

Comments
 (0)