安装
$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Jackson-chen97/dsh-devops
Configuration Reference
GitLab Config
| Field | Required | Description |
|---|
baseUrl | Yes | GitLab instance URL |
defaultProject | No | Default project ID (falls back to first) |
projects[].id | Yes | Unique project identifier |
projects[].path | Yes | GitLab project path (group/project) |
projects[].tokenEnv | Yes | Env var name containing the token |
projects[].defaultBranch | No | Default branch for this project |
K8s Config
| Field | Required | Description |
|---|
kubeconfigs[].id | Yes | Unique cluster identifier |
kubeconfigs[].path | Yes | Kubeconfig file path (~ supported) |
kubeconfigs[].context | No | Context to use (defaults to current-context) |
kubeconfigs[].namespace | No | Default namespace override |
defaultContext | No | Default cluster ID |
defaultNamespace | No | Fallback namespace |
Webhook Config
| Field | Required | Description |
|---|
secret | Yes | Shared secret for webhook verification |
projectPaths | No | Filter by project path (whitelist) |
quietEvents | No | Event types to suppress |
Monitor Config
| Field | Default | Description |
|---|
pollIntervalSec | 60 | Polling interval |
cooldownSec | 300 | Alert cooldown to prevent spam |
pipeline[] | — | Pipeline alert rules |
pod[] | — | Pod alert rules |