From 60ce3c36163b6d4fff530fa9ffb8f41bac9df71d Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Mon, 1 Jul 2024 15:49:12 +0200 Subject: [PATCH] Move project to ironcore-dev --- PROJECT | 14 +++++++------- README.md | 4 ++-- api/v1alpha1/zz_generated.deepcopy.go | 2 +- cmd/manager/main.go | 8 ++++---- cmd/metalprobe/main.go | 2 +- go.mod | 2 +- internal/controller/bmc_controller.go | 2 +- internal/controller/bmc_controller_test.go | 2 +- internal/controller/bmcsecret_controller.go | 2 +- internal/controller/bmcsecret_controller_test.go | 2 +- internal/controller/bmcutils.go | 4 ++-- internal/controller/endpoint_controller.go | 6 +++--- internal/controller/endpoint_controller_test.go | 2 +- internal/controller/helper.go | 2 +- internal/controller/server_controller.go | 6 +++--- internal/controller/server_controller_test.go | 6 +++--- .../serverbootconfiguration_controller.go | 2 +- .../serverbootconfiguration_controller_test.go | 2 +- internal/controller/serverclaim_controller.go | 2 +- internal/controller/serverclaim_controller_test.go | 2 +- internal/controller/suite_test.go | 6 +++--- internal/probe/agent.go | 2 +- internal/probe/agent_test.go | 2 +- internal/probe/networking.go | 2 +- internal/probe/probe_suite_test.go | 4 ++-- internal/registry/registry_suite_test.go | 2 +- internal/registry/server.go | 2 +- internal/registry/server_test.go | 2 +- test/e2e/e2e_test.go | 2 +- 29 files changed, 49 insertions(+), 49 deletions(-) diff --git a/PROJECT b/PROJECT index 0807c58..3f30d5a 100644 --- a/PROJECT +++ b/PROJECT @@ -6,7 +6,7 @@ domain: ironcore.dev layout: - go.kubebuilder.io/v4 projectName: metal-operator -repo: github.com/afritzler/metal-operator +repo: github.com/ironcore-dev/metal-operator resources: - api: crdVersion: v1 @@ -14,7 +14,7 @@ resources: domain: ironcore.dev group: metal kind: Endpoint - path: github.com/afritzler/metal-operator/api/v1alpha1 + path: github.com/ironcore-dev/metal-operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -22,7 +22,7 @@ resources: domain: ironcore.dev group: metal kind: BMCSecret - path: github.com/afritzler/metal-operator/api/v1alpha1 + path: github.com/ironcore-dev/metal-operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -30,7 +30,7 @@ resources: domain: ironcore.dev group: metal kind: BMC - path: github.com/afritzler/metal-operator/api/v1alpha1 + path: github.com/ironcore-dev/metal-operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -38,7 +38,7 @@ resources: domain: ironcore.dev group: metal kind: Server - path: github.com/afritzler/metal-operator/api/v1alpha1 + path: github.com/ironcore-dev/metal-operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -46,7 +46,7 @@ resources: domain: ironcore.dev group: metal kind: ServerBootConfiguration - path: github.com/afritzler/metal-operator/api/v1alpha1 + path: github.com/ironcore-dev/metal-operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -55,6 +55,6 @@ resources: domain: ironcore.dev group: metal kind: ServerClaim - path: github.com/afritzler/metal-operator/api/v1alpha1 + path: github.com/ironcore-dev/metal-operator/api/v1alpha1 version: v1alpha1 version: "3" diff --git a/README.md b/README.md index ab976ce..b4036f9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # metal-operator -[![REUSE status](https://api.reuse.software/badge/github.com/afritzler/metal-operator)](https://api.reuse.software/info/github.com/afritzler/metal-operator) -[![Go Report Card](https://goreportcard.com/badge/github.com/afritzler/metal-operator)](https://goreportcard.com/report/github.com/afritzler/metal-operator) +[![REUSE status](https://api.reuse.software/badge/github.com/ironcore-dev/metal-operator)](https://api.reuse.software/info/github.com/ironcore-dev/metal-operator) +[![Go Report Card](https://goreportcard.com/badge/github.com/ironcore-dev/metal-operator)](https://goreportcard.com/report/github.com/ironcore-dev/metal-operator) [![GitHub License](https://img.shields.io/static/v1?label=License&message=Apache-2.0&color=blue)](LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://makeapullrequest.com) diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index eb22abe..5c1dcef 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -22,7 +22,7 @@ package v1alpha1 import ( corev1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/apis/meta/v1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" ) diff --git a/cmd/manager/main.go b/cmd/manager/main.go index 7fea69a..a3e2fcf 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -27,10 +27,10 @@ import ( // to ensure that exec-entrypoint and run can make use of them. _ "k8s.io/client-go/plugin/pkg/client/auth" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" - "github.com/afritzler/metal-operator/internal/api/macdb" - "github.com/afritzler/metal-operator/internal/controller" - "github.com/afritzler/metal-operator/internal/registry" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" + "github.com/ironcore-dev/metal-operator/internal/api/macdb" + "github.com/ironcore-dev/metal-operator/internal/controller" + "github.com/ironcore-dev/metal-operator/internal/registry" "k8s.io/apimachinery/pkg/runtime" utilruntime "k8s.io/apimachinery/pkg/util/runtime" clientgoscheme "k8s.io/client-go/kubernetes/scheme" diff --git a/cmd/metalprobe/main.go b/cmd/metalprobe/main.go index 1aefe4e..9775610 100644 --- a/cmd/metalprobe/main.go +++ b/cmd/metalprobe/main.go @@ -20,7 +20,7 @@ import ( "flag" "os" - "github.com/afritzler/metal-operator/internal/probe" + "github.com/ironcore-dev/metal-operator/internal/probe" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/log/zap" ) diff --git a/go.mod b/go.mod index cac0cc4..f820f88 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/afritzler/metal-operator +module github.com/ironcore-dev/metal-operator go 1.22.2 diff --git a/internal/controller/bmc_controller.go b/internal/controller/bmc_controller.go index ae4fac2..5112248 100644 --- a/internal/controller/bmc_controller.go +++ b/internal/controller/bmc_controller.go @@ -22,9 +22,9 @@ import ( "k8s.io/apimachinery/pkg/api/errors" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" "github.com/go-logr/logr" "github.com/ironcore-dev/controller-utils/clientutils" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/controller/bmc_controller_test.go b/internal/controller/bmc_controller_test.go index 84f3980..f02e36c 100644 --- a/internal/controller/bmc_controller_test.go +++ b/internal/controller/bmc_controller_test.go @@ -19,7 +19,7 @@ package controller import ( "fmt" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/controller/bmcsecret_controller.go b/internal/controller/bmcsecret_controller.go index 00acc72..465fb5e 100644 --- a/internal/controller/bmcsecret_controller.go +++ b/internal/controller/bmcsecret_controller.go @@ -24,7 +24,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/log" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" ) // BMCSecretReconciler reconciles a BMCSecret object diff --git a/internal/controller/bmcsecret_controller_test.go b/internal/controller/bmcsecret_controller_test.go index 1b1fe96..db68459 100644 --- a/internal/controller/bmcsecret_controller_test.go +++ b/internal/controller/bmcsecret_controller_test.go @@ -27,7 +27,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" ) var _ = Describe("BMCSecret Controller", func() { diff --git a/internal/controller/bmcutils.go b/internal/controller/bmcutils.go index 524133c..64a406b 100644 --- a/internal/controller/bmcutils.go +++ b/internal/controller/bmcutils.go @@ -23,8 +23,8 @@ import ( "k8s.io/apimachinery/pkg/api/errors" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" - "github.com/afritzler/metal-operator/bmc" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" + "github.com/ironcore-dev/metal-operator/bmc" "sigs.k8s.io/controller-runtime/pkg/client" ) diff --git a/internal/controller/endpoint_controller.go b/internal/controller/endpoint_controller.go index f6ea3b5..5eb71d9 100644 --- a/internal/controller/endpoint_controller.go +++ b/internal/controller/endpoint_controller.go @@ -22,11 +22,11 @@ import ( "fmt" "strings" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" - "github.com/afritzler/metal-operator/bmc" - "github.com/afritzler/metal-operator/internal/api/macdb" "github.com/go-logr/logr" "github.com/ironcore-dev/controller-utils/clientutils" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" + "github.com/ironcore-dev/metal-operator/bmc" + "github.com/ironcore-dev/metal-operator/internal/api/macdb" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/controller/endpoint_controller_test.go b/internal/controller/endpoint_controller_test.go index 9f2809e..06355b9 100644 --- a/internal/controller/endpoint_controller_test.go +++ b/internal/controller/endpoint_controller_test.go @@ -19,7 +19,7 @@ package controller import ( "encoding/base64" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" apierrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/controller/helper.go b/internal/controller/helper.go index a1ec125..fa268f9 100644 --- a/internal/controller/helper.go +++ b/internal/controller/helper.go @@ -17,7 +17,7 @@ limitations under the License. package controller import ( - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" "sigs.k8s.io/controller-runtime/pkg/client" ) diff --git a/internal/controller/server_controller.go b/internal/controller/server_controller.go index 668dace..7d15b21 100644 --- a/internal/controller/server_controller.go +++ b/internal/controller/server_controller.go @@ -29,12 +29,12 @@ import ( apierrors "k8s.io/apimachinery/pkg/api/errors" - "github.com/afritzler/metal-operator/internal/api/registry" + "github.com/ironcore-dev/metal-operator/internal/api/registry" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" - "github.com/afritzler/metal-operator/internal/ignition" "github.com/go-logr/logr" "github.com/ironcore-dev/controller-utils/clientutils" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" + "github.com/ironcore-dev/metal-operator/internal/ignition" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/controller/server_controller_test.go b/internal/controller/server_controller_test.go index 07ff397..e709131 100644 --- a/internal/controller/server_controller_test.go +++ b/internal/controller/server_controller_test.go @@ -22,9 +22,9 @@ import ( apierrors "k8s.io/apimachinery/pkg/api/errors" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" - "github.com/afritzler/metal-operator/internal/controller/testdata" - "github.com/afritzler/metal-operator/internal/probe" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" + "github.com/ironcore-dev/metal-operator/internal/controller/testdata" + "github.com/ironcore-dev/metal-operator/internal/probe" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" v1 "k8s.io/api/core/v1" diff --git a/internal/controller/serverbootconfiguration_controller.go b/internal/controller/serverbootconfiguration_controller.go index 79e96c1..c196a21 100644 --- a/internal/controller/serverbootconfiguration_controller.go +++ b/internal/controller/serverbootconfiguration_controller.go @@ -19,8 +19,8 @@ package controller import ( "context" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" "github.com/go-logr/logr" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" "k8s.io/apimachinery/pkg/runtime" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/internal/controller/serverbootconfiguration_controller_test.go b/internal/controller/serverbootconfiguration_controller_test.go index e528934..6010170 100644 --- a/internal/controller/serverbootconfiguration_controller_test.go +++ b/internal/controller/serverbootconfiguration_controller_test.go @@ -17,7 +17,7 @@ limitations under the License. package controller import ( - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" v1 "k8s.io/api/core/v1" diff --git a/internal/controller/serverclaim_controller.go b/internal/controller/serverclaim_controller.go index 107b8f0..948e9c6 100644 --- a/internal/controller/serverclaim_controller.go +++ b/internal/controller/serverclaim_controller.go @@ -20,9 +20,9 @@ import ( "context" "fmt" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" "github.com/go-logr/logr" "github.com/ironcore-dev/controller-utils/clientutils" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" v1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/controller/serverclaim_controller_test.go b/internal/controller/serverclaim_controller_test.go index c120da0..f5af91d 100644 --- a/internal/controller/serverclaim_controller_test.go +++ b/internal/controller/serverclaim_controller_test.go @@ -27,7 +27,7 @@ import ( "k8s.io/utils/ptr" . "sigs.k8s.io/controller-runtime/pkg/envtest/komega" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" ) var _ = Describe("ServerClaim Controller", func() { diff --git a/internal/controller/suite_test.go b/internal/controller/suite_test.go index e360742..030acda 100644 --- a/internal/controller/suite_test.go +++ b/internal/controller/suite_test.go @@ -24,9 +24,9 @@ import ( "testing" "time" - "github.com/afritzler/metal-operator/internal/registry" + "github.com/ironcore-dev/metal-operator/internal/registry" - "github.com/afritzler/metal-operator/internal/api/macdb" + "github.com/ironcore-dev/metal-operator/internal/api/macdb" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" corev1 "k8s.io/api/core/v1" @@ -40,7 +40,7 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - metalv1alpha1 "github.com/afritzler/metal-operator/api/v1alpha1" + metalv1alpha1 "github.com/ironcore-dev/metal-operator/api/v1alpha1" //+kubebuilder:scaffold:imports ) diff --git a/internal/probe/agent.go b/internal/probe/agent.go index b8dca4a..f2d61fd 100644 --- a/internal/probe/agent.go +++ b/internal/probe/agent.go @@ -25,7 +25,7 @@ import ( "net/http" "time" - "github.com/afritzler/metal-operator/internal/api/registry" + "github.com/ironcore-dev/metal-operator/internal/api/registry" "k8s.io/apimachinery/pkg/util/wait" ) diff --git a/internal/probe/agent_test.go b/internal/probe/agent_test.go index e02ac9f..13f325a 100644 --- a/internal/probe/agent_test.go +++ b/internal/probe/agent_test.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - "github.com/afritzler/metal-operator/internal/api/registry" + "github.com/ironcore-dev/metal-operator/internal/api/registry" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/internal/probe/networking.go b/internal/probe/networking.go index a04a05a..2e5a059 100644 --- a/internal/probe/networking.go +++ b/internal/probe/networking.go @@ -20,7 +20,7 @@ import ( "net" "strings" - "github.com/afritzler/metal-operator/internal/api/registry" + "github.com/ironcore-dev/metal-operator/internal/api/registry" ) // collectNetworkData collects the IP and MAC addresses of the host's network interfaces, diff --git a/internal/probe/probe_suite_test.go b/internal/probe/probe_suite_test.go index 44cecac..5510ea4 100644 --- a/internal/probe/probe_suite_test.go +++ b/internal/probe/probe_suite_test.go @@ -20,8 +20,8 @@ import ( "context" "testing" - "github.com/afritzler/metal-operator/internal/probe" - "github.com/afritzler/metal-operator/internal/registry" + "github.com/ironcore-dev/metal-operator/internal/probe" + "github.com/ironcore-dev/metal-operator/internal/registry" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" logf "sigs.k8s.io/controller-runtime/pkg/log" diff --git a/internal/registry/registry_suite_test.go b/internal/registry/registry_suite_test.go index 94dc02f..3214bae 100644 --- a/internal/registry/registry_suite_test.go +++ b/internal/registry/registry_suite_test.go @@ -20,7 +20,7 @@ import ( "context" "testing" - "github.com/afritzler/metal-operator/internal/registry" + "github.com/ironcore-dev/metal-operator/internal/registry" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" logf "sigs.k8s.io/controller-runtime/pkg/log" diff --git a/internal/registry/server.go b/internal/registry/server.go index b808259..135c639 100644 --- a/internal/registry/server.go +++ b/internal/registry/server.go @@ -26,7 +26,7 @@ import ( "os" "sync" - "github.com/afritzler/metal-operator/internal/api/registry" + "github.com/ironcore-dev/metal-operator/internal/api/registry" ) // Ensure the log output goes to standard out (this is useful if you're running in a containerized environment). diff --git a/internal/registry/server_test.go b/internal/registry/server_test.go index b4bf306..6644023 100644 --- a/internal/registry/server_test.go +++ b/internal/registry/server_test.go @@ -22,7 +22,7 @@ import ( "fmt" "net/http" - "github.com/afritzler/metal-operator/internal/api/registry" + "github.com/ironcore-dev/metal-operator/internal/api/registry" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index b96f1e8..5882795 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -24,7 +24,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/afritzler/metal-operator/test/utils" + "github.com/ironcore-dev/metal-operator/test/utils" ) const namespace = "metal-operator-system"