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

95 lines
8.3 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":"storageprofiles.cdi.kubevirt.io","creationTimestamp":null,"annotations":{"controller-gen.kubebuilder.io/version":"v0.11.3"}},"spec":{"group":"cdi.kubevirt.io","names":{"plural":"storageprofiles","singular":"storageprofile","kind":"StorageProfile","listKind":"StorageProfileList"},"scope":"Cluster","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"StorageProfile provides a CDI specific recommendation for storage parameters","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":"StorageProfileSpec defines specification for StorageProfile","type":"object","properties":{"claimPropertySets":{"description":"ClaimPropertySets is a provided set of properties applicable to PVC","type":"array","items":{"description":"ClaimPropertySet is a set of properties applicable to PVC","type":"object","properties":{"accessModes":{"description":"AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1","type":"array","items":{"type":"string"}},"volumeMode":{"description":"VolumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.","type":"string"}}}},"cloneStrategy":{"description":"CloneStrategy defines the preferred method for performing a CDI clone","type":"string"},"dataImportCronSourceFormat":{"description":"DataImportCronSourceFormat defines the format of the DataImportCron-created disk image sources","type":"string"}}},"status":{"description":"StorageProfileStatus provides the most recently observed status of the StorageProfile","type":"object","properties":{"claimPropertySets":{"description":"ClaimPropertySets computed from the spec and detected in the system","type":"array","items":{"description":"ClaimPropertySet is a set of properties applicable to PVC","type":"object","properties":{"accessModes":{"description":"AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1","type":"array","items":{"type":"string"}},"volumeMode":{"description":"VolumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.","type":"string"}}}},"cloneStrategy":{"description":"CloneStrategy defines the preferred method for performing a CDI clone","type":"string"},"dataImportCronSourceFormat":{"description":"DataImportCronSourceFormat defines the format of the DataImportCron-created disk image sources","type":"string"},"provisioner":{"description":"The Storage class provisioner plugin name","type":"string"},"storageClass":{"description":"The StorageClass name for which capabilities are defined","type":"string"}}}}}}}]},"status":{"conditions":null,"acceptedNames":{"plural":"","kind":""},"storedVersions":null}}'
generation: 1
labels:
operator.cdi.kubevirt.io/createVersion: v1.57.0
name: storageprofiles.cdi.kubevirt.io
spec:
conversion:
strategy: None
group: cdi.kubevirt.io
names:
kind: StorageProfile
listKind: StorageProfileList
plural: storageprofiles
singular: storageprofile
scope: Cluster
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: StorageProfile provides a CDI specific recommendation for storage parameters
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: StorageProfileSpec defines specification for StorageProfile
properties:
claimPropertySets:
description: ClaimPropertySets is a provided set of properties applicable to PVC
items:
description: ClaimPropertySet is a set of properties applicable to PVC
properties:
accessModes:
description: 'AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
items:
type: string
type: array
volumeMode:
description: VolumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
type: string
type: object
type: array
cloneStrategy:
description: CloneStrategy defines the preferred method for performing a CDI clone
type: string
dataImportCronSourceFormat:
description: DataImportCronSourceFormat defines the format of the DataImportCron-created disk image sources
type: string
type: object
status:
description: StorageProfileStatus provides the most recently observed status of the StorageProfile
properties:
claimPropertySets:
description: ClaimPropertySets computed from the spec and detected in the system
items:
description: ClaimPropertySet is a set of properties applicable to PVC
properties:
accessModes:
description: 'AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
items:
type: string
type: array
volumeMode:
description: VolumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
type: string
type: object
type: array
cloneStrategy:
description: CloneStrategy defines the preferred method for performing a CDI clone
type: string
dataImportCronSourceFormat:
description: DataImportCronSourceFormat defines the format of the DataImportCron-created disk image sources
type: string
provisioner:
description: The Storage class provisioner plugin name
type: string
storageClass:
description: The StorageClass name for which capabilities are defined
type: string
type: object
required:
- spec
type: object
served: true
storage: true