@@ -78,10 +78,6 @@ type VolumeSource struct {
7878 // configMap represents a configMap that should populate this volume
7979 // +optional
8080 ConfigMap * corev1.ConfigMapVolumeSource `json:"configMap,omitempty" protobuf:"bytes,19,opt,name=configMap"`
81- // photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
82- PhotonPersistentDisk * corev1.PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty" protobuf:"bytes,23,opt,name=photonPersistentDisk"`
83- // projected items for all in one resources secrets, configmaps, and downward API
84- Projected * corev1.ProjectedVolumeSource `json:"projected,omitempty" protobuf:"bytes,26,opt,name=projected"`
8581 // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
8682 // +optional
8783 ScaleIO * corev1.ScaleIOVolumeSource `json:"scaleIO,omitempty" protobuf:"bytes,25,opt,name=scaleIO"`
@@ -91,12 +87,6 @@ type VolumeSource struct {
9187 // csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
9288 // +optional
9389 CSI * corev1.CSIVolumeSource `json:"csi,omitempty" protobuf:"bytes,28,opt,name=csi"`
94- // ephemeral represents a volume that is handled by a cluster storage driver.
95- // The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
96- // and deleted when the pod is removed.
97- //
98- // +optional
99- Ephemeral * corev1.EphemeralVolumeSource `json:"ephemeral,omitempty" protobuf:"bytes,29,opt,name=ephemeral"`
10090}
10191
10292// Volume our slimmed down version of Volume
@@ -165,11 +155,8 @@ func ConvertVolumeSource(v *VolumeSource) corev1.VolumeSource {
165155 DownwardAPI : v .DownwardAPI ,
166156 FC : v .FC ,
167157 ConfigMap : v .ConfigMap ,
168- PhotonPersistentDisk : v .PhotonPersistentDisk ,
169- Projected : v .Projected ,
170158 ScaleIO : v .ScaleIO ,
171159 StorageOS : v .StorageOS ,
172160 CSI : v .CSI ,
173- Ephemeral : v .Ephemeral ,
174161 }
175162}
0 commit comments