github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/opensearch-operator/files/opensearch.opster.io_opensearchtenants.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: opensearchtenants.opensearch.opster.io
     9  spec:
    10    group: opensearch.opster.io
    11    names:
    12      kind: OpensearchTenant
    13      listKind: OpensearchTenantList
    14      plural: opensearchtenants
    15      shortNames:
    16      - opensearchtenant
    17      singular: opensearchtenant
    18    scope: Namespaced
    19    versions:
    20    - name: v1
    21      schema:
    22        openAPIV3Schema:
    23          description: OpensearchTenant is the Schema for the opensearchtenants 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: OpensearchTenantSpec defines the desired state of OpensearchTenant
    39              properties:
    40                description:
    41                  type: string
    42                opensearchCluster:
    43                  description: LocalObjectReference contains enough information to let
    44                    you locate the referenced object inside the same namespace.
    45                  properties:
    46                    name:
    47                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
    48                        TODO: Add other useful fields. apiVersion, kind, uid?'
    49                      type: string
    50                  type: object
    51                  x-kubernetes-map-type: atomic
    52              required:
    53              - opensearchCluster
    54              type: object
    55            status:
    56              description: OpensearchTenantStatus defines the observed state of OpensearchTenant
    57              properties:
    58                existingTenant:
    59                  type: boolean
    60                managedCluster:
    61                  description: UID is a type that holds unique ID values, including
    62                    UUIDs.  Because we don't ONLY use UUIDs, this is an alias to string.  Being
    63                    a type captures intent and helps make sure that UIDs and names do
    64                    not get conflated.
    65                  type: string
    66                reason:
    67                  type: string
    68                state:
    69                  type: string
    70              type: object
    71          type: object
    72      served: true
    73      storage: true
    74      subresources:
    75        status: {}