diff --git a/PROJECT b/PROJECT index 379bca2..88f502d 100644 --- a/PROJECT +++ b/PROJECT @@ -4,7 +4,7 @@ plugins: manifests.sdk.operatorframework.io/v2: {} scorecard.sdk.operatorframework.io/v2: {} projectName: ipam -repo: github.com/onmetal/ipam +repo: github.com/ironcore-dev/ipam resources: - api: crdVersion: v1 @@ -13,7 +13,7 @@ resources: domain: onmetal.de group: ipam kind: Ip - path: github.com/onmetal/ipam/api/v1alpha1 + path: github.com/ironcore-dev/ipam/api/v1alpha1 version: v1alpha1 webhooks: defaulting: true diff --git a/README.md b/README.md index b09e348..7271757 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ To find out more, please refer to: ## Contributing We`d love to get a feedback from you. -Please report bugs, suggestions or post question by opening a [Github issue](https://github.com/onmetal/ipam/issues) +Please report bugs, suggestions or post question by opening a [Github issue](https://github.com/ironcore-dev/ipam/issues) ## License [Apache License 2.0](LICENCE) diff --git a/clientset/clientset.go b/clientset/clientset.go index ed65414..5ebefef 100644 --- a/clientset/clientset.go +++ b/clientset/clientset.go @@ -20,7 +20,7 @@ import ( "k8s.io/client-go/rest" "k8s.io/client-go/util/flowcontrol" - "github.com/onmetal/ipam/clientset/v1alpha1" + "github.com/ironcore-dev/ipam/clientset/v1alpha1" ) type Clientset interface { diff --git a/clientset/v1alpha1/api.go b/clientset/v1alpha1/api.go index a61a259..39e70a8 100644 --- a/clientset/v1alpha1/api.go +++ b/clientset/v1alpha1/api.go @@ -18,7 +18,7 @@ import ( "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/rest" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/clientset/v1alpha1/client_suite_test.go b/clientset/v1alpha1/client_suite_test.go index 3c24cab..d0c9a28 100644 --- a/clientset/v1alpha1/client_suite_test.go +++ b/clientset/v1alpha1/client_suite_test.go @@ -28,7 +28,7 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - machinev1alpha1 "github.com/onmetal/ipam/api/v1alpha1" + machinev1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/clientset/v1alpha1/ip.go b/clientset/v1alpha1/ip.go index 9c0dd78..64d6af4 100644 --- a/clientset/v1alpha1/ip.go +++ b/clientset/v1alpha1/ip.go @@ -24,7 +24,7 @@ import ( "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/rest" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/clientset/v1alpha1/ip_client_test.go b/clientset/v1alpha1/ip_client_test.go index 342e3b2..3e31a3c 100644 --- a/clientset/v1alpha1/ip_client_test.go +++ b/clientset/v1alpha1/ip_client_test.go @@ -23,7 +23,7 @@ import ( "k8s.io/apimachinery/pkg/util/json" "k8s.io/apimachinery/pkg/watch" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) var _ = Describe("IP client", func() { diff --git a/clientset/v1alpha1/network.go b/clientset/v1alpha1/network.go index c98044a..a91d529 100644 --- a/clientset/v1alpha1/network.go +++ b/clientset/v1alpha1/network.go @@ -24,7 +24,7 @@ import ( "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/rest" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/clientset/v1alpha1/network_client_test.go b/clientset/v1alpha1/network_client_test.go index 2a8d5d9..ce25c7f 100644 --- a/clientset/v1alpha1/network_client_test.go +++ b/clientset/v1alpha1/network_client_test.go @@ -22,7 +22,7 @@ import ( "k8s.io/apimachinery/pkg/util/json" "k8s.io/apimachinery/pkg/watch" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) var _ = Describe("Network client", func() { diff --git a/clientset/v1alpha1/networkcounter.go b/clientset/v1alpha1/networkcounter.go index 772e156..5a4be0c 100644 --- a/clientset/v1alpha1/networkcounter.go +++ b/clientset/v1alpha1/networkcounter.go @@ -24,7 +24,7 @@ import ( "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/rest" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/clientset/v1alpha1/networkcounter_client_test.go b/clientset/v1alpha1/networkcounter_client_test.go index 8f7b3ab..e2a64eb 100644 --- a/clientset/v1alpha1/networkcounter_client_test.go +++ b/clientset/v1alpha1/networkcounter_client_test.go @@ -22,7 +22,7 @@ import ( "k8s.io/apimachinery/pkg/util/json" "k8s.io/apimachinery/pkg/watch" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) var _ = Describe("NetworkCounter client", func() { diff --git a/clientset/v1alpha1/subnet.go b/clientset/v1alpha1/subnet.go index 5433d0c..9aa69fa 100644 --- a/clientset/v1alpha1/subnet.go +++ b/clientset/v1alpha1/subnet.go @@ -24,7 +24,7 @@ import ( "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/rest" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/clientset/v1alpha1/subnet_client_test.go b/clientset/v1alpha1/subnet_client_test.go index 484a121..0f67c73 100644 --- a/clientset/v1alpha1/subnet_client_test.go +++ b/clientset/v1alpha1/subnet_client_test.go @@ -23,7 +23,7 @@ import ( "k8s.io/apimachinery/pkg/util/json" "k8s.io/apimachinery/pkg/watch" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) var _ = Describe("Subnet client", func() { diff --git a/controllers/ip_controller.go b/controllers/ip_controller.go index fb8cfc6..2d40802 100644 --- a/controllers/ip_controller.go +++ b/controllers/ip_controller.go @@ -26,7 +26,7 @@ import ( "k8s.io/client-go/tools/record" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" "github.com/go-logr/logr" "k8s.io/apimachinery/pkg/runtime" diff --git a/controllers/ip_controller_test.go b/controllers/ip_controller_test.go index 6cae860..e25e160 100644 --- a/controllers/ip_controller_test.go +++ b/controllers/ip_controller_test.go @@ -23,7 +23,7 @@ import ( "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/controllers/network_controller.go b/controllers/network_controller.go index e4c3dcc..792d185 100644 --- a/controllers/network_controller.go +++ b/controllers/network_controller.go @@ -30,7 +30,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - machinev1alpha1 "github.com/onmetal/ipam/api/v1alpha1" + machinev1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/controllers/network_controller_test.go b/controllers/network_controller_test.go index 0eeb995..3e8ccf3 100644 --- a/controllers/network_controller_test.go +++ b/controllers/network_controller_test.go @@ -26,7 +26,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) var _ = Describe("Network controller", func() { diff --git a/controllers/networkcounter_controller.go b/controllers/networkcounter_controller.go index 7e7466a..56c5193 100644 --- a/controllers/networkcounter_controller.go +++ b/controllers/networkcounter_controller.go @@ -25,7 +25,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - machinev1alpha1 "github.com/onmetal/ipam/api/v1alpha1" + machinev1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/controllers/networkcounter_controller_test.go b/controllers/networkcounter_controller_test.go index 4de379c..7d1c299 100644 --- a/controllers/networkcounter_controller_test.go +++ b/controllers/networkcounter_controller_test.go @@ -23,7 +23,7 @@ import ( "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) var _ = Describe("NetworkCounter controller", func() { diff --git a/controllers/subnet_controller.go b/controllers/subnet_controller.go index ce8beee..34b6fe0 100644 --- a/controllers/subnet_controller.go +++ b/controllers/subnet_controller.go @@ -30,7 +30,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) const ( diff --git a/controllers/subnet_controller_test.go b/controllers/subnet_controller_test.go index 73ea2d2..f80e4a9 100644 --- a/controllers/subnet_controller_test.go +++ b/controllers/subnet_controller_test.go @@ -26,7 +26,7 @@ import ( "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" ) var _ = Describe("Subnet controller", func() { diff --git a/controllers/suite_test.go b/controllers/suite_test.go index 61a4635..0be2298 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -31,7 +31,7 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - "github.com/onmetal/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/api/v1alpha1" // +kubebuilder:scaffold:imports ) diff --git a/docs/consuming_api.md b/docs/consuming_api.md index 412a712..006453d 100644 --- a/docs/consuming_api.md +++ b/docs/consuming_api.md @@ -18,8 +18,8 @@ import ( "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/rest" - apiv1alpha1 "github.com/onmetal/ipam/api/v1alpha1" - clientv1alpha1 "github.com/onmetal/ipam/clientset" + apiv1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1" + clientv1alpha1 "github.com/ironcore-dev/ipam/clientset" ) func inbound() error { @@ -74,8 +74,8 @@ import ( "k8s.io/client-go/kubernetes/scheme" - apiv1alpha1 "github.com/onmetal/ipam/api/v1alpha1" - clientv1alpha1 "github.com/onmetal/ipam/clientset" + apiv1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1" + clientv1alpha1 "github.com/ironcore-dev/ipam/clientset" ) func outbound() error { diff --git a/docs/contribution.md b/docs/contribution.md index d12a7b8..8124737 100644 --- a/docs/contribution.md +++ b/docs/contribution.md @@ -10,7 +10,7 @@ The Gardener on Metal project uses Github to manage reviews of pull requests. address (with @...) a suitable maintainer of this repository in the description of the pull request. * If you plan to do something more involved, first discuss your ideas by creating an -[issue](https://github.com/onmetal/ipam/issues) for this repository. This will avoid unnecessary work and surely give you +[issue](https://github.com/ironcore-dev/ipam/issues) for this repository. This will avoid unnecessary work and surely give you and us a good deal of inspiration. > Please follow these style guidelines to have your contribution considered by the maintainers: @@ -107,4 +107,4 @@ for a review in the pull request or a comment. We use GitHub issues to track bugs and enhancement requests. Please provide as much context as possible when you open an issue. The information you provide must be comprehensive enough to understand, reproduce the behavior and find related reports of that issue for the assignee. Therefore, contributors may use but aren't restricted to the issue template provided by the Gardener on Metal maintainers. -Issues and pull requests are tracked in the [backlog](https://github.com/onmetal/ipam/projects) for this project. +Issues and pull requests are tracked in the [backlog](https://github.com/ironcore-dev/ipam/projects) for this project. diff --git a/docs/usage.md b/docs/usage.md index a5c9016..07f68aa 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -106,10 +106,10 @@ Spec: ``` Examples: -- [empty network](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_network.yaml); -- [network with VXLAN ID request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_vxlan_network.yaml); -- [network with GENEVE ID request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_geneve_network.yaml); -- [network with MPLS ID request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_mpls_network.yaml). +- [empty network](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_network.yaml); +- [network with VXLAN ID request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_vxlan_network.yaml); +- [network with GENEVE ID request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_geneve_network.yaml); +- [network with MPLS ID request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_mpls_network.yaml). ## Subnets @@ -252,14 +252,14 @@ Status: ``` Examples: -- [IPv4 parent (top level) subnet](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_parent_cidr_subnet.yaml); -- [IPv4 child subnet with CIDR set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_cidr_subnet.yaml); -- [IPv4 child subnet with CIDR requested by network prefix bits](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_bits_subnet.yaml); -- [IPv4 child subnet with CIDR requested by address capacity](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_capacity_subnet.yaml); -- [IPv6 parent (top level) subnet](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_parent_cidr_subnet.yaml); -- [IPv6 child subnet with CIDR set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_cidr_subnet.yaml); -- [IPv6 child subnet with CIDR requested by network prefix bits](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_bits_subnet.yaml); -- [IPv6 child subnet with CIDR requested by address capacity](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_capacity_subnet.yaml); +- [IPv4 parent (top level) subnet](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_parent_cidr_subnet.yaml); +- [IPv4 child subnet with CIDR set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_cidr_subnet.yaml); +- [IPv4 child subnet with CIDR requested by network prefix bits](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_bits_subnet.yaml); +- [IPv4 child subnet with CIDR requested by address capacity](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_capacity_subnet.yaml); +- [IPv6 parent (top level) subnet](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_parent_cidr_subnet.yaml); +- [IPv6 child subnet with CIDR set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_cidr_subnet.yaml); +- [IPv6 child subnet with CIDR requested by network prefix bits](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_bits_subnet.yaml); +- [IPv6 child subnet with CIDR requested by address capacity](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_capacity_subnet.yaml); ## IPs @@ -325,11 +325,11 @@ Status: ``` Examples: -- [IPv4 IP request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_ip.yaml); -- [IPv4 IP request with reference to related resource](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_resource_ip.yaml); -- [IPv4 IP request with IP set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_ip_ip.yaml); -- [IPv4 IP request with reference to related resource and IP set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_resource_and_ip_ip.yaml); -- [IPv6 IP request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_ip.yaml); -- [IPv6 IP request with reference to related resource](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_resource_ip.yaml); -- [IPv6 IP request with IP set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_ip_ip.yaml); -- [IPv6 IP request with reference to related resource and IP set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_resource_and_ip_ip.yaml); +- [IPv4 IP request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_ip.yaml); +- [IPv4 IP request with reference to related resource](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_resource_ip.yaml); +- [IPv4 IP request with IP set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_ip_ip.yaml); +- [IPv4 IP request with reference to related resource and IP set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_resource_and_ip_ip.yaml); +- [IPv6 IP request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_ip.yaml); +- [IPv6 IP request with reference to related resource](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_resource_ip.yaml); +- [IPv6 IP request with IP set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_ip_ip.yaml); +- [IPv6 IP request with reference to related resource and IP set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_resource_and_ip_ip.yaml); diff --git a/go.mod b/go.mod index 077c069..01cdcbc 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/onmetal/ipam +module github.com/ironcore-dev/ipam go 1.21 diff --git a/main.go b/main.go index ab1cdec..1356e2e 100644 --- a/main.go +++ b/main.go @@ -32,8 +32,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log/zap" metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server" - ipamv1alpha1 "github.com/onmetal/ipam/api/v1alpha1" - "github.com/onmetal/ipam/controllers" + ipamv1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1" + "github.com/ironcore-dev/ipam/controllers" // +kubebuilder:scaffold:imports )