93 lines
3.0 KiB
YAML
Generated
93 lines
3.0 KiB
YAML
Generated
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: (devel)
|
|
creationTimestamp: null
|
|
name: users.iam.kubesphere.io
|
|
spec:
|
|
group: iam.kubesphere.io
|
|
names:
|
|
categories:
|
|
- iam
|
|
kind: User
|
|
listKind: UserList
|
|
plural: users
|
|
singular: user
|
|
scope: Cluster
|
|
versions:
|
|
- additionalPrinterColumns:
|
|
- jsonPath: .spec.email
|
|
name: Email
|
|
type: string
|
|
- jsonPath: .status.state
|
|
name: Status
|
|
type: string
|
|
name: v1alpha2
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: User is the Schema for the users API
|
|
properties:
|
|
apiVersion:
|
|
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
|
type: string
|
|
kind:
|
|
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
description: UserSpec defines the desired state of User
|
|
properties:
|
|
description:
|
|
description: Description of the user.
|
|
type: string
|
|
displayName:
|
|
type: string
|
|
email:
|
|
description: Unique email address(https://www.ietf.org/rfc/rfc5322.txt).
|
|
type: string
|
|
groups:
|
|
items:
|
|
type: string
|
|
type: array
|
|
lang:
|
|
description: The preferred written or spoken language for the user.
|
|
type: string
|
|
password:
|
|
description: password will be encrypted by mutating admission webhook
|
|
type: string
|
|
required:
|
|
- email
|
|
type: object
|
|
status:
|
|
description: UserStatus defines the observed state of User
|
|
properties:
|
|
lastLoginTime:
|
|
description: Last login attempt timestamp
|
|
format: date-time
|
|
type: string
|
|
lastTransitionTime:
|
|
format: date-time
|
|
type: string
|
|
reason:
|
|
type: string
|
|
state:
|
|
description: The user status
|
|
type: string
|
|
type: object
|
|
required:
|
|
- spec
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources: {}
|
|
status:
|
|
acceptedNames:
|
|
kind: ""
|
|
plural: ""
|
|
conditions: []
|
|
storedVersions: []
|