func SplitKey(key string) (string, string) {
	if !strings.Contains(key, "/") {
		return key, ""
	}
	keyParts := strings.SplitN(key, "/", 2)
	return keyParts[0], keyParts[1]
}
SplitKey returns a name and version for a plugin key.
package plugin
import (
	"fmt"
	"path"
	"sort"
	"strings"
	"sigs.k8s.io/kubebuilder/v3/pkg/config"
	"sigs.k8s.io/kubebuilder/v3/pkg/internal/validation"
)
func KeyFor(p Plugin) string {
	return path.Join(p.Name(), p.Version().String())
}