apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: installs.serving.knative.dev
spec:
  group: serving.knative.dev
  names:
    kind: Install
    listKind: InstallList
    plural: installs
    singular: install
    shortNames:
    - ksi
  scope: Namespaced
  subresources:
    status: {}
  validation:
    openAPIV3Schema:
      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/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/api-conventions.md#types-kinds'
          type: string
        metadata:
          type: object
        spec:
          properties:
            config:
              additionalProperties:
                additionalProperties:
                  type: string
                type: object
              description: A means to override the corresponding entries in the upstream
                configmaps
              type: object
            namespace:
              description: The target namespace in which to install the upstream resources
              type: string
          type: object
        status:
          properties:
            resources:
              description: The resources applied by the operator
              items:
                type: object
              type: array
            version:
              description: The version of the installed release
              type: string
          required:
          - resources
          - version
          type: object
  version: v1alpha1
  versions:
  - name: v1alpha1
    served: true
    storage: true
