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
参数
body: SelfSubjectReview, 必需
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
pretty (在查询中): string
响应
200 (SelfSubjectReview): OK
201 (SelfSubjectReview): Created
202 (SelfSubjectReview): Accepted
401: 未授权
本页面是自动生成的。
如果你打算报告此页面存在的问题,请在问题描述中提及此页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。