func IsProtectedCommunityGroup(group string) bool {
	switch {
	case group == "k8s.io" || strings.HasSuffix(group, ".k8s.io"):
		return true
	case group == "kubernetes.io" || strings.HasSuffix(group, ".kubernetes.io"):
		return true
	default:
		return false
	}
}
IsProtectedCommunityGroup returns whether or not a group specified for a CRD is protected for the community and needs
to have the v1beta1.KubeAPIApprovalAnnotation set.
package apihelpers
import (
	"fmt"
	"net/url"
	"strings"
	"time"
	apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)