github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/opensearch-operator/files/opensearch.opster.io_opensearchuserrolebindings.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: opensearchuserrolebindings.opensearch.opster.io
     9  spec:
    10    group: opensearch.opster.io
    11    names:
    12      kind: OpensearchUserRoleBinding
    13      listKind: OpensearchUserRoleBindingList
    14      plural: opensearchuserrolebindings
    15      shortNames:
    16      - opensearchuserrolebinding
    17      singular: opensearchuserrolebinding
    18    scope: Namespaced
    19    versions:
    20    - name: v1
    21      schema:
    22        openAPIV3Schema:
    23          description: OpensearchUserRoleBinding is the Schema for the opensearchuserrolebindings
    24            API
    25          properties:
    26            apiVersion:
    27              description: 'APIVersion defines the versioned schema of this representation
    28                of an object. Servers should convert recognized schemas to the latest
    29                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    30              type: string
    31            kind:
    32              description: 'Kind is a string value representing the REST resource this
    33                object represents. Servers may infer this from the endpoint the client
    34                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    35              type: string
    36            metadata:
    37              type: object
    38            spec:
    39              description: OpensearchUserRoleBindingSpec defines the desired state of
    40                OpensearchUserRoleBinding
    41              properties:
    42                backendRoles:
    43                  items:
    44                    type: string
    45                  type: array
    46                opensearchCluster:
    47                  description: LocalObjectReference contains enough information to let
    48                    you locate the referenced object inside the same namespace.
    49                  properties:
    50                    name:
    51                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
    52                        TODO: Add other useful fields. apiVersion, kind, uid?'
    53                      type: string
    54                  type: object
    55                  x-kubernetes-map-type: atomic
    56                roles:
    57                  items:
    58                    type: string
    59                  type: array
    60                users:
    61                  items:
    62                    type: string
    63                  type: array
    64              required:
    65              - opensearchCluster
    66              - roles
    67              type: object
    68            status:
    69              description: OpensearchUserRoleBindingStatus defines the observed state
    70                of OpensearchUserRoleBinding
    71              properties:
    72                managedCluster:
    73                  description: UID is a type that holds unique ID values, including
    74                    UUIDs.  Because we don't ONLY use UUIDs, this is an alias to string.  Being
    75                    a type captures intent and helps make sure that UIDs and names do
    76                    not get conflated.
    77                  type: string
    78                provisionedBackendRoles:
    79                  items:
    80                    type: string
    81                  type: array
    82                provisionedRoles:
    83                  items:
    84                    type: string
    85                  type: array
    86                provisionedUsers:
    87                  items:
    88                    type: string
    89                  type: array
    90                reason:
    91                  type: string
    92                state:
    93                  type: string
    94              type: object
    95          type: object
    96      served: true
    97      storage: true
    98      subresources:
    99        status: {}