From af990c0c757e476491165bd72230f780a04e616d Mon Sep 17 00:00:00 2001 From: Cole Snodgrass Date: Mon, 24 Jun 2024 11:37:47 -0700 Subject: [PATCH] rem commented out code --- internal/cmd/local/k8s/cluster.go | 43 ------------------------------- 1 file changed, 43 deletions(-) diff --git a/internal/cmd/local/k8s/cluster.go b/internal/cmd/local/k8s/cluster.go index 5f551ed..e6a1545 100644 --- a/internal/cmd/local/k8s/cluster.go +++ b/internal/cmd/local/k8s/cluster.go @@ -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, -// }, -// } -//}