@@ -39,24 +39,34 @@ const (
3939 AnnIntegrityCoreChecksumApplied = AnnIntegrityGroup + "core-spec-checksum-applied"
4040
4141 // AnnAPIGroup is the APIGroup for virtualization-controller.
42- AnnAPIGroup = "virt.deckhouse.io"
42+ AnnAPIGroup = "internal.virtualization.deckhouse.io"
43+ // AnnAPIGroupLegacy is the legacy APIGroup for virtualization-controller annotations.
44+ AnnAPIGroupLegacy = "virt.deckhouse.io"
4345
4446 // AnnCreatedBy is a pod annotation indicating if the pod was created by the PVC.
4547 AnnCreatedBy = AnnAPIGroup + "/storage.createdByController"
4648
4749 // AnnPodRetainAfterCompletion is PVC annotation for retaining transfer pods after completion
4850 AnnPodRetainAfterCompletion = AnnAPIGroup + "/storage.pod.retainAfterCompletion"
4951
52+ // AnnPodRetainAfterCompletionLegacy is the legacy PVC annotation for retaining transfer pods after completion.
53+ AnnPodRetainAfterCompletionLegacy = AnnAPIGroupLegacy + "/storage.pod.retainAfterCompletion"
54+
5055 // AnnUploadURLDeprecated provides a const for CVMI/VMI/VMD uploadURL annotation.
5156 // TODO remove annotation and its usages after version 1.0 becomes Stable.
52- AnnUploadURLDeprecated = AnnAPIGroup + "/upload.url"
57+ AnnUploadURLDeprecated = AnnAPIGroupLegacy + "/upload.url"
5358
5459 // AnnTolerationsHash provides a const for annotation with hash of applied tolerations.
5560 AnnTolerationsHash = AnnAPIGroup + "/tolerations-hash"
61+ // AnnTolerationsHashLegacy provides a const for legacy annotation with hash of applied tolerations.
62+ AnnTolerationsHashLegacy = AnnAPIGroupLegacy + "/tolerations-hash"
63+
5664 // AnnProvisionerTolerations provides a const for tolerations to use for provisioners.
5765 AnnProvisionerTolerations = AnnAPIGroup + "/provisioner-tolerations"
5866 // AnnProvisionerName provides a name of data volume provisioner.
5967 AnnProvisionerName = AnnAPIGroup + "/provisioner-name"
68+ // AnnProvisionerNameLegacy provides a legacy name of data volume provisioner.
69+ AnnProvisionerNameLegacy = AnnAPIGroupLegacy + "/provisioner-name"
6070
6171 // AnnDefaultStorageClass is the annotation indicating that a storage class is the default one.
6272 AnnDefaultStorageClass = "storageclass.kubernetes.io/is-default-class"
@@ -72,14 +82,22 @@ const (
7282
7383 // AnnVMLastAppliedSpec is an annotation on KVVM. It contains a JSON with VM spec.
7484 AnnVMLastAppliedSpec = AnnAPIGroup + "/vm.last-applied-spec"
85+ // AnnVMLastAppliedSpecLegacy is a legacy annotation on KVVM. It contains a JSON with VM spec.
86+ AnnVMLastAppliedSpecLegacy = AnnAPIGroupLegacy + "/vm.last-applied-spec"
7587
7688 // AnnVMClassLastAppliedSpec is an annotation on KVVM. It contains a JSON with VM spec.
7789 AnnVMClassLastAppliedSpec = AnnAPIGroup + "/vmclass.last-applied-spec"
90+ // AnnVMClassLastAppliedSpecLegacy is a legacy annotation on KVVM. It contains a JSON with VMClass spec.
91+ AnnVMClassLastAppliedSpecLegacy = AnnAPIGroupLegacy + "/vmclass.last-applied-spec"
7892
7993 // LastPropagatedVMAnnotationsAnnotation is a marshalled map of previously applied virtual machine annotations.
8094 LastPropagatedVMAnnotationsAnnotation = AnnAPIGroup + "/last-propagated-vm-annotations"
95+ // LastPropagatedVMAnnotationsAnnotationLegacy is a legacy marshalled map of previously applied virtual machine annotations.
96+ LastPropagatedVMAnnotationsAnnotationLegacy = AnnAPIGroupLegacy + "/last-propagated-vm-annotations"
8197 // LastPropagatedVMLabelsAnnotation is a marshalled map of previously applied virtual machine labels.
8298 LastPropagatedVMLabelsAnnotation = AnnAPIGroup + "/last-propagated-vm-labels"
99+ // LastPropagatedVMLabelsAnnotationLegacy is a legacy marshalled map of previously applied virtual machine labels.
100+ LastPropagatedVMLabelsAnnotationLegacy = AnnAPIGroupLegacy + "/last-propagated-vm-labels"
83101
84102 AnnOsType = AnnAPIGroupV + "/os-type"
85103
0 commit comments