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)
Status 由服务器填充用户属性。
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
Parameters
body: SelfSubjectReview, 必需
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
pretty (在查询中): string
响应
200 (SelfSubjectReview): 确定
201 (SelfSubjectReview): 已创建
202 (SelfSubjectReview): 已接受
401: 未授权
本页面是自动生成的。
如果您打算报告此页面的问题,请在您的问题描述中提及该页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。