Skip to content

Commit

Permalink
rem commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
colesnodgrass committed Jun 24, 2024
1 parent 22861d0 commit af990c0
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions internal/cmd/local/k8s/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,46 +95,3 @@ func (k *kindCluster) Exists() bool {

return false
}

//func pvc(name string) *corev1.PersistentVolumeClaim {
// size, _ := resource.ParseQuantity("500Mi")
//
// return &corev1.PersistentVolumeClaim{
// ObjectMeta: metav1.ObjectMeta{Name: name},
// Spec: corev1.PersistentVolumeClaimSpec{
// AccessModes: []corev1.PersistentVolumeAccessMode{corev1.ReadWriteOnce},
// Resources: corev1.VolumeResourceRequirements{
// Requests: corev1.ResourceList{corev1.ResourceStorage: size},
// },
// VolumeName: "",
// StorageClassName: nil,
// VolumeMode: nil,
// DataSource: nil,
// DataSourceRef: nil,
// VolumeAttributesClassName: nil,
// },
// Status: corev1.PersistentVolumeClaimStatus{},
// }
//}

//func pv(name string) *corev1.PersistentVolume {
// size, _ := resource.ParseQuantity("500Mi")
//
// return &corev1.PersistentVolume{
// ObjectMeta: metav1.ObjectMeta{Name: name},
// Spec: corev1.PersistentVolumeSpec{
// Capacity: corev1.ResourceList{corev1.ResourceStorage: size},
// PersistentVolumeSource: corev1.PersistentVolumeSource{},
// AccessModes: []corev1.PersistentVolumeAccessMode{
// corev1.ReadWriteOnce,
// },
// ClaimRef: nil,
// PersistentVolumeReclaimPolicy: "",
// StorageClassName: "",
// MountOptions: nil,
// VolumeMode: nil,
// NodeAffinity: nil,
// VolumeAttributesClassName: nil,
// },
// }
//}

0 comments on commit af990c0

Please sign in to comment.