* wip * IAM: Create Service Account * Add dual writer * Update openapi_test.go * Add integration tests * Add sql tests * Add Role to SA spec, add validation, add DBTime, add tests * Format, update test * Fixes * Add check for External * Address feedback * Update tests * Address feedback * make gen-go * Simplify a bit * Fixes * make update-workspace * Update pkg/registry/apis/iam/serviceaccount/store.go Co-authored-by: Ryan McKinley <ryantxu@gmail.com> * Address feedback, add test for generateName --------- Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
11 lines
195 B
CUE
11 lines
195 B
CUE
package v0alpha1
|
|
|
|
ServiceAccountSpec: {
|
|
disabled: bool |* false
|
|
plugin: string
|
|
role: OrgRole
|
|
title: string
|
|
}
|
|
|
|
OrgRole: "None" | "Viewer" | "Editor" | "Admin" @cuetsy(kind="enum")
|