k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/community/kubermatic.k8c.io_users.yaml (about)

     1  # This file has been generated by hack/update-codegen.sh, DO NOT EDIT.
     2  
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.12.0
     8    name: users.kubermatic.k8c.io
     9  spec:
    10    group: kubermatic.k8c.io
    11    names:
    12      kind: User
    13      listKind: UserList
    14      plural: users
    15      singular: user
    16    scope: Cluster
    17    versions:
    18      - additionalPrinterColumns:
    19          - jsonPath: .spec.email
    20            name: Email
    21            type: string
    22          - jsonPath: .spec.name
    23            name: HumanReadableName
    24            type: string
    25          - jsonPath: .spec.admin
    26            name: Admin
    27            type: boolean
    28          - jsonPath: .metadata.creationTimestamp
    29            name: Age
    30            type: date
    31        name: v1
    32        schema:
    33          openAPIV3Schema:
    34            description: User specifies a KKP user.
    35            properties:
    36              apiVersion:
    37                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'
    38                type: string
    39              kind:
    40                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'
    41                type: string
    42              metadata:
    43                type: object
    44              spec:
    45                description: UserSpec specifies a user.
    46                properties:
    47                  admin:
    48                    default: false
    49                    description: IsAdmin defines whether this user is an administrator with additional permissions.
    50                    type: boolean
    51                  dashboardSettings:
    52                    description: Settings contains both user-configurable and system-owned configuration for the KKP dashboard.
    53                    properties:
    54                      collapseSidenav:
    55                        type: boolean
    56                      itemsPerPage:
    57                        type: integer
    58                      lastSeenChangelogVersion:
    59                        type: string
    60                      selectProjectTableView:
    61                        type: boolean
    62                      selectedTheme:
    63                        type: string
    64                      useClustersView:
    65                        type: boolean
    66                    type: object
    67                  email:
    68                    description: Email is the email address of this user. Emails must be globally unique across all KKP users.
    69                    type: string
    70                  groups:
    71                    description: Groups holds the information to which groups the user belongs to. Set automatically when logging in to the KKP API, and used by the KKP API.
    72                    items:
    73                      type: string
    74                    type: array
    75                  invalidTokensReference:
    76                    description: InvalidTokensReference is a reference to a Secret that contains invalidated login tokens. The tokens are used to provide a safe logout mechanism.
    77                    properties:
    78                      apiVersion:
    79                        description: API version of the referent.
    80                        type: string
    81                      fieldPath:
    82                        description: 'If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.'
    83                        type: string
    84                      key:
    85                        type: string
    86                      kind:
    87                        description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    88                        type: string
    89                      name:
    90                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    91                        type: string
    92                      namespace:
    93                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    94                        type: string
    95                      resourceVersion:
    96                        description: 'Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
    97                        type: string
    98                      uid:
    99                        description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
   100                        type: string
   101                    type: object
   102                    x-kubernetes-map-type: atomic
   103                  name:
   104                    description: Name is the full name of this user.
   105                    type: string
   106                required:
   107                  - admin
   108                  - email
   109                  - name
   110                type: object
   111              status:
   112                description: UserStatus stores status information about a user.
   113                properties:
   114                  lastSeen:
   115                    description: LastSeen is the date and time this user last used the KKP dashboard.
   116                    format: date-time
   117                    type: string
   118                type: object
   119            type: object
   120        served: true
   121        storage: true
   122        subresources:
   123          status: {}