kubesphere-devops-tenant
仓库创建 2018年4月21日最近提交 13 天前SkillHot 收录 21 天前
▸ 精选理由
为非集群管理员提供受限操作指南,适合普通租户。
▸ 风险提示
受限权限下有些操作需管理员介入才能完成。
这个 Skill 做什么
面向命名空间级租户的 KubeSphere DevOps 操作与 API 指南。
给只能在命名空间级别活动、没有 cluster-admin 权限的团队一套实操指南和 API 用法。适合不能直接访问 kubesphere-devops-system、无法调用 Jenkins API、只能通过 KubeSphere 提供的 /kapis/devops.kubesphere.io/ 接入时使用。亮点是把受限权限下常见的 DevOps 操作拆成可执行的命令和替代方案,方便按租户边界操作。
▸ 展开 SKILL.md 英文原文
Use when operating KubeSphere DevOps as a namespace-scoped tenant with limited permissions, without cluster-admin access, or when accessing DevOps through KubeSphere APIs only
1.7w
Stars
2.7k
Forks
32
仓库内 Skill
+26
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/kubesphere/kubesphere/master/skills/kubesphere-devops-tenant/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/kubesphere/kubesphere/master/skills/kubesphere-devops-tenant/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# KubeSphere DevOps Tenant Operations
## Overview
This guide covers DevOps operations for **namespace-scoped tenants** who:
- Have admin/operator permissions within their DevOpsProject namespace(s)
- **Cannot** access `kubesphere-devops-system` (Jenkins secrets, tokens)
- **Cannot** call Jenkins APIs directly
- Must use **KubeSphere APIs** (`/kapis/devops.kubesphere.io/`) for all operations
- Use **KubeSphere authentication** (OAuth tokens), not Jenkins tokens
**Critical Distinction:** DevOps projects are **namespaces**, not DevOpsProject CRs. To list accessible DevOps projects:
```bash
# Correct - lists namespaces (DevOps projects) tenant can access
GET /clusters/{cluster}/kapis/devops.kvia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有