---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: erversions.ephemeral-roles.net
spec:
  group: ephemeral-roles.net
  names:
    categories: []
    kind: ERVersion
    plural: erversions
    shortNames:
      - erv
    singular: erversion
  scope: Cluster
  versions:
    - additionalPrinterColumns: []
      name: v1
      schema:
        openAPIV3Schema:
          description: "Auto-generated derived type for ERVersionSpec via `CustomResource`"
          properties:
            spec:
              description: ERVersion spec
              properties:
                components:
                  items:
                    properties:
                      files:
                        items:
                          type: string
                        type: array
                      name:
                        type: string
                      version:
                        type: string
                    required:
                      - files
                      - name
                      - version
                    type: object
                  type: array
              required:
                - components
              type: object
            status:
              description: ERVersion status
              nullable: true
              type: object
          required:
            - spec
          title: ERVersion
          type: object
      served: true
      storage: true
      subresources:
        status: {}
