Files
addons/crd/cdi/apiextensions.k8s.io_v1_CustomResourceDefinition_datasources.cdi.kubevirt.io.yaml

137 lines
9.4 KiB
YAML

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
operator.cdi.kubevirt.io/lastAppliedConfiguration: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datasources.cdi.kubevirt.io","creationTimestamp":null,"annotations":{"controller-gen.kubebuilder.io/version":"v0.11.3"}},"spec":{"group":"cdi.kubevirt.io","names":{"plural":"datasources","singular":"datasource","shortNames":["das"],"kind":"DataSource","listKind":"DataSourceList","categories":["all"]},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"DataSource references an import/clone source for a DataVolume","type":"object","required":["spec"],"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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"DataSourceSpec defines specification for DataSource","type":"object","required":["source"],"properties":{"source":{"description":"Source is the source of the data referenced by the DataSource","type":"object","properties":{"pvc":{"description":"DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC","type":"object","required":["name","namespace"],"properties":{"name":{"description":"The name of the source PVC","type":"string"},"namespace":{"description":"The namespace of the source PVC","type":"string"}}},"snapshot":{"description":"DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot","type":"object","required":["name","namespace"],"properties":{"name":{"description":"The name of the source VolumeSnapshot","type":"string"},"namespace":{"description":"The namespace of the source VolumeSnapshot","type":"string"}}}}}}},"status":{"description":"DataSourceStatus provides the most recently observed status of the DataSource","type":"object","properties":{"conditions":{"type":"array","items":{"description":"DataSourceCondition represents the state of a data source condition","type":"object","required":["status","type"],"properties":{"lastHeartbeatTime":{"type":"string","format":"date-time"},"lastTransitionTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"status":{"type":"string"},"type":{"description":"DataSourceConditionType is the string representation of known condition types","type":"string"}}}},"source":{"description":"Source is the current source of the data referenced by the DataSource","type":"object","properties":{"pvc":{"description":"DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC","type":"object","required":["name","namespace"],"properties":{"name":{"description":"The name of the source PVC","type":"string"},"namespace":{"description":"The namespace of the source PVC","type":"string"}}},"snapshot":{"description":"DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot","type":"object","required":["name","namespace"],"properties":{"name":{"description":"The name of the source VolumeSnapshot","type":"string"},"namespace":{"description":"The namespace of the source VolumeSnapshot","type":"string"}}}}}}}}}}}]},"status":{"conditions":null,"acceptedNames":{"plural":"","kind":""},"storedVersions":null}}'
generation: 1
labels:
operator.cdi.kubevirt.io/createVersion: v1.57.0
name: datasources.cdi.kubevirt.io
spec:
conversion:
strategy: None
group: cdi.kubevirt.io
names:
categories:
- all
kind: DataSource
listKind: DataSourceList
plural: datasources
shortNames:
- das
singular: datasource
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: DataSource references an import/clone source for a DataVolume
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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: DataSourceSpec defines specification for DataSource
properties:
source:
description: Source is the source of the data referenced by the DataSource
properties:
pvc:
description: DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC
properties:
name:
description: The name of the source PVC
type: string
namespace:
description: The namespace of the source PVC
type: string
required:
- name
- namespace
type: object
snapshot:
description: DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot
properties:
name:
description: The name of the source VolumeSnapshot
type: string
namespace:
description: The namespace of the source VolumeSnapshot
type: string
required:
- name
- namespace
type: object
type: object
required:
- source
type: object
status:
description: DataSourceStatus provides the most recently observed status of the DataSource
properties:
conditions:
items:
description: DataSourceCondition represents the state of a data source condition
properties:
lastHeartbeatTime:
format: date-time
type: string
lastTransitionTime:
format: date-time
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
description: DataSourceConditionType is the string representation of known condition types
type: string
required:
- status
- type
type: object
type: array
source:
description: Source is the current source of the data referenced by the DataSource
properties:
pvc:
description: DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC
properties:
name:
description: The name of the source PVC
type: string
namespace:
description: The namespace of the source PVC
type: string
required:
- name
- namespace
type: object
snapshot:
description: DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot
properties:
name:
description: The name of the source VolumeSnapshot
type: string
namespace:
description: The namespace of the source VolumeSnapshot
type: string
required:
- name
- namespace
type: object
type: object
type: object
required:
- spec
type: object
served: true
storage: true