apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: resources.ensembleoss.io
spec:
  group: ensembleoss.io
  versions:
  - name: v1
    served: true
    storage: true
    schema:
      openAPIV3Schema:
        type: object
        properties:
          spec:
            type: object
            properties:
              backend:
                type: string
              cluster:
                type: string
              resource:
                type: string
              params:
                type: object
                additionalProperties:
                  type: string
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
    subresources:
      status: {}
  scope: Namespaced
  names:
    plural: resources
    singular: resource
    kind: Resource
