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 專案的其他地方進行。