From 8b12d12c21e4ed1a87a6c18a6ad3f69c6aa40ae9 Mon Sep 17 00:00:00 2001 From: Jimmi Dyson Date: Thu, 18 Apr 2024 17:42:24 +0100 Subject: [PATCH] refactor: Move API to caren.nutanix.com group --- PROJECT | 6 +++--- api/v1alpha1/doc.go | 2 +- api/v1alpha1/groupversion_info.go | 2 +- docs/content/lifecycle/service-loadbalancer-gc.md | 2 +- pkg/handlers/generic/lifecycle/ccm/doc.go | 2 +- pkg/handlers/generic/lifecycle/csi/doc.go | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/PROJECT b/PROJECT index bb60445b3..c9aee2c17 100644 --- a/PROJECT +++ b/PROJECT @@ -2,7 +2,7 @@ # This file is used to track the info used to scaffold your project # and allow the plugins properly work. # More info: https://book.kubebuilder.io/reference/project-config.html -domain: labs.d2iq.io +domain: nutanix.com layout: - go.kubebuilder.io/v4 projectName: cluster-api-runtime-extensions-nutanix @@ -11,8 +11,8 @@ resources: - api: crdVersion: v1 namespaced: true - domain: labs.d2iq.io - group: capiext.labs.d2iq.io + domain: nutanix.com + group: caren.nutanix.com kind: ClusterConfig path: github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/api/v1alpha1 version: v1alpha1 diff --git a/api/v1alpha1/doc.go b/api/v1alpha1/doc.go index eda1e43d9..be29643bb 100644 --- a/api/v1alpha1/doc.go +++ b/api/v1alpha1/doc.go @@ -3,5 +3,5 @@ // Package v1alpha1 contains API Schema definitions for the CAPI extensions v1alpha1 API group // +kubebuilder:object:generate=true -// +groupName=capiext.labs.d2iq.io +// +groupName=caren.nutanix.com package v1alpha1 diff --git a/api/v1alpha1/groupversion_info.go b/api/v1alpha1/groupversion_info.go index 69bcc9943..55fbc2e9a 100644 --- a/api/v1alpha1/groupversion_info.go +++ b/api/v1alpha1/groupversion_info.go @@ -8,7 +8,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/scheme" ) -const APIGroup = "capiext.labs.d2iq.io" +const APIGroup = "caren.nutanix.com" var ( // GroupVersion is group version used to register these objects. diff --git a/docs/content/lifecycle/service-loadbalancer-gc.md b/docs/content/lifecycle/service-loadbalancer-gc.md index 2d6ee7fd5..f8e519a8b 100644 --- a/docs/content/lifecycle/service-loadbalancer-gc.md +++ b/docs/content/lifecycle/service-loadbalancer-gc.md @@ -12,4 +12,4 @@ load-balancer services have been fully deleted, indicating that the cloud provid resources. By default, all clusters will be cleaned up when deleting, but this can be opted out from by setting the annotation -`capiext.labs.d2iq.io/loadbalancer-gc=false`. +`caren.nutanix.com/loadbalancer-gc=false`. diff --git a/pkg/handlers/generic/lifecycle/ccm/doc.go b/pkg/handlers/generic/lifecycle/ccm/doc.go index 8fe9f0035..b3372a293 100644 --- a/pkg/handlers/generic/lifecycle/ccm/doc.go +++ b/pkg/handlers/generic/lifecycle/ccm/doc.go @@ -4,7 +4,7 @@ // Package calico provides a handler for managing Calico deployments on clusters, configurable via // labels and annotations. // -// To enable Calico deployment, a cluster must be labelled with `capiext.labs.d2iq.io/cni=calico`. +// To enable Calico deployment, a cluster must be labelled with `caren.nutanix.com/cni=calico`. // This will ensure the Tigera Configmap and associated ClusterResourceSet. // // +kubebuilder:rbac:groups=addons.cluster.x-k8s.io,resources=clusterresourcesets,verbs=watch;list;get;create;patch;update;delete diff --git a/pkg/handlers/generic/lifecycle/csi/doc.go b/pkg/handlers/generic/lifecycle/csi/doc.go index 41a048f24..ca08b40f9 100644 --- a/pkg/handlers/generic/lifecycle/csi/doc.go +++ b/pkg/handlers/generic/lifecycle/csi/doc.go @@ -4,7 +4,7 @@ // Package calico provides a handler for managing Calico deployments on clusters, configurable via // labels and annotations. // -// To enable Calico deployment, a cluster must be labelled with `capiext.labs.d2iq.io/cni=calico`. +// To enable Calico deployment, a cluster must be labelled with `caren.nutanix.com/cni=calico`. // This will ensure the Tigera Configmap and associated ClusterResourceSet. // // +kubebuilder:rbac:groups=addons.cluster.x-k8s.io,resources=clusterresourcesets,verbs=watch;list;get;create;patch;update;delete