diff --git a/defaults.go b/defaults.go index 418e88e..670ee00 100644 --- a/defaults.go +++ b/defaults.go @@ -5,7 +5,6 @@ import ( kubeflowv1 "github.com/StatCan/kubeflow-controller/pkg/apis/kubeflowcontroller/v1" kubeflowv1alpha1 "github.com/StatCan/kubeflow-controller/pkg/apis/kubeflowcontroller/v1alpha1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // NewPodDefaultFunc represents the function called to create a new PodDefault. @@ -29,25 +28,6 @@ func RegisterPodDefault(name string, callback NewPodDefaultFunc) error { func init() { RegisterPodDefault("minio-mounts", func(profile *kubeflowv1.Profile) *kubeflowv1alpha1.PodDefault { - return &kubeflowv1alpha1.PodDefault{ - ObjectMeta: metav1.ObjectMeta{ - Name: "minio-mounts", - Namespace: profile.Name, - OwnerReferences: []metav1.OwnerReference{ - *metav1.NewControllerRef(profile, kubeflowv1.SchemeGroupVersion.WithKind("Profile")), - }, - }, - Spec: kubeflowv1alpha1.PodDefaultSpec{ - Desc: "Mount MinIO storage to ~/minio (experimental) / Monter le stockage MinIO sur ~/minio (expérimental)", - Selector: metav1.LabelSelector{ - MatchLabels: map[string]string{ - "minio-mounts": "true", - }, - }, - Annotations: map[string]string{ - "data.statcan.gc.ca/inject-boathouse": "true", - }, - }, - } + return &kubeflowv1alpha1.PodDefault{} }) }