kind: CustomResourceDefinition
apiVersion: apiextensions.k8s.io/v1
metadata:
  name: storagesystems.odf.openshift.io
  uid: 78c23988-8c0c-471a-b24d-23a3ebe2f4e2
  resourceVersion: '1099627'
  generation: 1
  creationTimestamp: '2022-02-08T04:22:15Z'
  labels:
    operators.coreos.com/odf-operator.openshift-storage: ''
  annotations:
    controller-gen.kubebuilder.io/version: v0.4.1
    operatorframework.io/installed-alongside-6752f662fb48118e: openshift-storage/odf-operator.v4.9.1
  managedFields:
    - manager: kube-apiserver
      operation: Update
      apiVersion: apiextensions.k8s.io/v1
      time: '2022-02-08T04:22:15Z'
      fieldsType: FieldsV1
      fieldsV1:
        'f:status':
          'f:acceptedNames':
            'f:kind': {}
            'f:listKind': {}
            'f:plural': {}
            'f:shortNames': {}
            'f:singular': {}
          'f:conditions':
            'k:{"type":"Established"}':
              .: {}
              'f:lastTransitionTime': {}
              'f:message': {}
              'f:reason': {}
              'f:status': {}
              'f:type': {}
            'k:{"type":"NamesAccepted"}':
              .: {}
              'f:lastTransitionTime': {}
              'f:message': {}
              'f:reason': {}
              'f:status': {}
              'f:type': {}
      subresource: status
    - manager: catalog
      operation: Update
      apiVersion: apiextensions.k8s.io/v1
      time: '2022-02-08T07:39:42Z'
      fieldsType: FieldsV1
      fieldsV1:
        'f:metadata':
          'f:annotations':
            .: {}
            'f:controller-gen.kubebuilder.io/version': {}
            'f:operatorframework.io/installed-alongside-6752f662fb48118e': {}
        'f:spec':
          'f:conversion':
            .: {}
            'f:strategy': {}
          'f:group': {}
          'f:names':
            'f:kind': {}
            'f:listKind': {}
            'f:plural': {}
            'f:shortNames': {}
            'f:singular': {}
          'f:scope': {}
          'f:versions': {}
    - manager: olm
      operation: Update
      apiVersion: apiextensions.k8s.io/v1
      time: '2022-02-09T05:11:39Z'
      fieldsType: FieldsV1
      fieldsV1:
        'f:metadata':
          'f:labels':
            .: {}
            'f:operators.coreos.com/odf-operator.openshift-storage': {}
spec:
  group: odf.openshift.io
  names:
    plural: storagesystems
    singular: storagesystem
    shortNames:
      - storsys
    kind: StorageSystem
    listKind: StorageSystemList
  scope: Namespaced
  versions:
    - name: v1alpha1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          description: StorageSystem is the Schema for the storagesystems API
          type: object
          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: StorageSystemSpec defines the desired state of StorageSystem
              type: object
              required:
                - name
                - namespace
              properties:
                kind:
                  description: Kind describes the kind of storage vendor
                  type: string
                  default: storagecluster.ocs.openshift.io/v1
                  enum:
                    - flashsystemcluster.odf.ibm.com/v1alpha1
                    - storagecluster.ocs.openshift.io/v1
                name:
                  description: Name describes the name of managed storage vendor CR
                  type: string
                namespace:
                  description: >-
                    Namespace describes the namespace of managed storage vendor
                    CR
                  type: string
            status:
              description: StorageSystemStatus defines the observed state of StorageSystem
              type: object
              properties:
                conditions:
                  description: >-
                    Conditions describes the state of the StorageSystem
                    resource.
                  type: array
                  items:
                    description: >-
                      Condition represents the state of the operator's
                      reconciliation functionality.
                    type: object
                    required:
                      - status
                      - type
                    properties:
                      lastHeartbeatTime:
                        type: string
                        format: date-time
                      lastTransitionTime:
                        type: string
                        format: date-time
                      message:
                        type: string
                      reason:
                        type: string
                      status:
                        type: string
                      type:
                        description: >-
                          ConditionType is the state of the operator's
                          reconciliation functionality.
                        type: string
      subresources:
        status: {}
      additionalPrinterColumns:
        - name: storage-system-kind
          type: string
          jsonPath: .spec.kind
        - name: storage-system-name
          type: string
          jsonPath: .spec.name
  conversion:
    strategy: None
status:
  conditions:
    - type: NamesAccepted
      status: 'True'
      lastTransitionTime: '2022-02-08T04:22:15Z'
      reason: NoConflicts
      message: no conflicts found
    - type: Established
      status: 'True'
      lastTransitionTime: '2022-02-08T04:22:15Z'
      reason: InitialNamesAccepted
      message: the initial names have been accepted
  acceptedNames:
    plural: storagesystems
    singular: storagesystem
    shortNames:
      - storsys
    kind: StorageSystem
    listKind: StorageSystemList
  storedVersions:
    - v1alpha1
