一键导入
deploy-extension
Build and deploy an extension to the local kind cluster. Use when the user wants to test an extension end-to-end in ArgoCD.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build and deploy an extension to the local kind cluster. Use when the user wants to test an extension end-to-end in ArgoCD.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scaffold a new ArgoCD UI extension with React frontend and Go backend. Use when the user wants to create a new extension for a domain (e.g., logs, networking, security).
Run integration tests against the local kind cluster. Use when the user wants to verify the setup or test changes.
Set up the local development environment (kind cluster + ArgoCD + operators). Use when the user wants to start developing or needs the dev infrastructure running.
| name | deploy-extension |
| description | Build and deploy an extension to the local kind cluster. Use when the user wants to test an extension end-to-end in ArgoCD. |
| user-invocable | true |
| argument-hint | [extension-name] |
| allowed-tools | Bash(make *), Bash(docker *), Bash(kind *), Bash(kubectl *), Bash(npm *) |
Build and deploy the $ARGUMENTS extension to the local kind cluster.
Build the UI extension bundle:
cd extensions/$ARGUMENTS/ui && npm ci && npm run build
Build the backend Docker image:
docker build -t argoplane-$ARGUMENTS-backend:dev extensions/$ARGUMENTS/backend/
Load the image into kind:
kind load docker-image argoplane-$ARGUMENTS-backend:dev --name argoplane-dev
Deploy the backend service:
kubectl apply -f deploy/extensions/$ARGUMENTS/deployment.yaml
Configure the ArgoCD proxy extension (patch, not apply, to preserve argocd-cm):
kubectl -n argocd patch cm argocd-cm --type merge --patch-file deploy/argocd/proxy-extensions.json
Mount the UI extension into argocd-server (if not already done):
/tmp/extensions/ inside the argocd-server podRestart argocd-server to pick up the new extension:
kubectl -n argocd rollout restart deployment argocd-server
kubectl -n argocd rollout status deployment argocd-server --timeout=120s
Verify the backend is running:
kubectl -n argocd get pods -l app.kubernetes.io/name=argoplane-$ARGUMENTS-backend