apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: poddefaults.kubeflow.org
spec:
  group: kubeflow.org
  names:
    kind: PodDefault
    plural: poddefaults
    singular: poddefault
  preserveUnknownFields: false
  scope: Namespaced
  versions: 
    - name: v1alpha1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          properties:
            apiVersion:
              type: string
            kind:
              type: string
            metadata:
              type: object
            spec:
              properties:
                desc:
                  type: string
                serviceAccountName:
                  type: string
                automountServiceAccountToken:
                  type: boolean
                env:
                  items:
                    type: object
                    x-kubernetes-preserve-unknown-fields: true
                  type: array
                  x-kubernetes-preserve-unknown-fields: true
                envFrom:
                  items:
                    type: object
                    x-kubernetes-preserve-unknown-fields: true
                  type: array
                  x-kubernetes-preserve-unknown-fields: true
                selector:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
                volumeMounts:
                  items:
                    type: object
                    x-kubernetes-preserve-unknown-fields: true
                  type: array
                  x-kubernetes-preserve-unknown-fields: true
                volumes:
                  items:
                    type: object
                    x-kubernetes-preserve-unknown-fields: true
                  type: array
                  x-kubernetes-preserve-unknown-fields: true
              required:
              - selector
              type: object
              x-kubernetes-preserve-unknown-fields: true
            status:
              type: object
              x-kubernetes-preserve-unknown-fields: true
          type: object
          x-kubernetes-preserve-unknown-fields: true
