SelfSubjectReview
apiVersion: authentication.k8s.io/v1
import "k8s.io/api/authentication/v1"
SelfSubjectReview
SelfSubjectReview 包含 kube-apiserver 关于发出此请求的用户的信息。当使用模拟身份时,用户将收到被模拟用户的用户信息。如果使用模拟身份或请求头身份验证,任何额外的键将忽略其大小写并以小写形式返回。
apiVersion: authentication.k8s.io/v1
kind: SelfSubjectReview
metadata (ObjectMeta)
标准对象的元数据。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
status (SelfSubjectReviewStatus)
状态由服务器使用用户属性填充。
SelfSubjectReviewStatus
SelfSubjectReviewStatus 由 kube-apiserver 填充并发送回用户。
userInfo (UserInfo)
发出此请求的用户的用户属性。
UserInfo 包含实现 user.Info 接口所需的用户相关信息。
userInfo.extra (map[string][]string)
身份验证器提供的任何其他信息。
userInfo.groups ([]string)
此用户所属的组的名称。
userInfo.uid (string)
一个唯一的值,用于跨时间识别此用户。如果此用户被删除,并且添加了另一个同名用户,他们将具有不同的 UID。
userInfo.username (string)
在所有活动用户中唯一标识此用户的名称。
操作
create
创建一个 SelfSubjectReview
HTTP 请求
POST /apis/authentication.k8s.io/v1/selfsubjectreviews
参数
body: SelfSubjectReview, 必需
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
pretty (在查询中): string
响应
200 (SelfSubjectReview): 正常
201 (SelfSubjectReview): 已创建
202 (SelfSubjectReview): 已接受
401: 未授权
此页面是自动生成的。
如果您打算报告此页面存在问题,请在您的问题描述中提及该页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。