github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/opensearch-operator/files/opensearch.opster.io_opensearchusers.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.10.0
     7    creationTimestamp: null
     8    name: opensearchusers.opensearch.opster.io
     9  spec:
    10    group: opensearch.opster.io
    11    names:
    12      kind: OpensearchUser
    13      listKind: OpensearchUserList
    14      plural: opensearchusers
    15      shortNames:
    16      - opensearchuser
    17      singular: opensearchuser
    18    scope: Namespaced
    19    versions:
    20    - name: v1
    21      schema:
    22        openAPIV3Schema:
    23          description: OpensearchUser is the Schema for the opensearchusers API
    24          properties:
    25            apiVersion:
    26              description: 'APIVersion defines the versioned schema of this representation
    27                of an object. Servers should convert recognized schemas to the latest
    28                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    29              type: string
    30            kind:
    31              description: 'Kind is a string value representing the REST resource this
    32                object represents. Servers may infer this from the endpoint the client
    33                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    34              type: string
    35            metadata:
    36              type: object
    37            spec:
    38              description: OpensearchUserSpec defines the desired state of OpensearchUser
    39              properties:
    40                attributes:
    41                  additionalProperties:
    42                    type: string
    43                  type: object
    44                backendRoles:
    45                  items:
    46                    type: string
    47                  type: array
    48                opendistroSecurityRoles:
    49                  items:
    50                    type: string
    51                  type: array
    52                opensearchCluster:
    53                  description: LocalObjectReference contains enough information to let
    54                    you locate the referenced object inside the same namespace.
    55                  properties:
    56                    name:
    57                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
    58                        TODO: Add other useful fields. apiVersion, kind, uid?'
    59                      type: string
    60                  type: object
    61                  x-kubernetes-map-type: atomic
    62                passwordFrom:
    63                  description: SecretKeySelector selects a key of a Secret.
    64                  properties:
    65                    key:
    66                      description: The key of the secret to select from.  Must be a
    67                        valid secret key.
    68                      type: string
    69                    name:
    70                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
    71                        TODO: Add other useful fields. apiVersion, kind, uid?'
    72                      type: string
    73                    optional:
    74                      description: Specify whether the Secret or its key must be defined
    75                      type: boolean
    76                  required:
    77                  - key
    78                  type: object
    79                  x-kubernetes-map-type: atomic
    80              required:
    81              - opensearchCluster
    82              - passwordFrom
    83              type: object
    84            status:
    85              description: OpensearchUserStatus defines the observed state of OpensearchUser
    86              properties:
    87                managedCluster:
    88                  description: UID is a type that holds unique ID values, including
    89                    UUIDs.  Because we don't ONLY use UUIDs, this is an alias to string.  Being
    90                    a type captures intent and helps make sure that UIDs and names do
    91                    not get conflated.
    92                  type: string
    93                reason:
    94                  type: string
    95                state:
    96                  type: string
    97              type: object
    98          type: object
    99      served: true
   100      storage: true
   101      subresources:
   102        status: {}