---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: embercsis.ember-csi.io
spec:
  group: ember-csi.io
  names:
    kind: EmberStorageBackend
    listKind: EmberStorageBackendList
    plural: embercsis
    singular: embercsi
  scope: Namespaced
  versions:
  - name: v1alpha1
    served: true
    storage: true
    schema:
      openAPIV3Schema:
        type: object
        description: EmberStorageBackend is the Schema for the embercsis API
        properties:
          spec:
            description: EmberStorageBackendSpec defines the desired state of EmberStorageBackend
            properties:
              config:
                description: Configuration settings for Ember and Storage Backend
                properties:
                  envVars:
                    properties:
                      CSI_MODE:
                        type: string
                      X_CSI_DEBUG_MODE:
                        type: string
                      X_CSI_BACKEND_CONFIG:
                        type: object
                      X_CSI_DEFAULT_MOUNT_FS:
                        type: string
                      X_CSI_EMBER_CONFIG:
                        type: object
                      X_CSI_PERSISTENCE_CONFIG:
                        type: object
                    type: object
                  sysFiles:
                    properties:
                      name:
                        type: string
                    type: object
                required:
                - envVars
                type: object
            type: object
