# Source: https://raw.githubusercontent.com/arangodb/kube-arangodb/refs/tags/{version}/chart/kube-arangodb/crds/platform-storage.yaml
# Version: 1.3.0
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: arangoplatformstorages.platform.arangodb.com
spec:
  group: platform.arangodb.com
  names:
    kind: ArangoPlatformStorage
    listKind: ArangoPlatformStorageList
    plural: arangoplatformstorages
    singular: arangoplatformstorage
  scope: Namespaced
  versions:
    - name: v1alpha1
      schema:
        openAPIV3Schema:
          type: object
          x-kubernetes-preserve-unknown-fields: true
      served: true
      storage: false
      additionalPrinterColumns:
        - jsonPath: '.status.conditions[?(@.type=="Ready")].status'
          description: Defines if Storage is valid
          name: Ready
          type: string
      subresources:
        status: {}
    - name: v1beta1
      schema:
        openAPIV3Schema:
          type: object
          x-kubernetes-preserve-unknown-fields: true
      served: true
      storage: true
      additionalPrinterColumns:
        - jsonPath: '.status.conditions[?(@.type=="Ready")].status'
          description: Defines if Storage is valid
          name: Ready
          type: string
      subresources:
        status: {}
