diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index f04ac77c..e4c03a6c 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -29,7 +29,7 @@ jobs: id: meta with: images: | - ghcr.io/${{ github.repository_owner }}/ipxe-operator + ghcr.io/${{ github.repository_owner }}/boot-operator tags: | type=semver,pattern={{version}} type=schedule diff --git a/.reuse/dep5 b/.reuse/dep5 index 3b49f71a..561f8205 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: ipxe-operator +Upstream-Name: boot-operator Upstream-Contact: IronCore authors -Source: https://github.com/ironcore-dev/ipxe-operator +Source: https://github.com/ironcore-dev/boot-operator # -------------------------------------------------- # source code diff --git a/PROJECT b/PROJECT index 823f86ed..88183c73 100644 --- a/PROJECT +++ b/PROJECT @@ -5,18 +5,9 @@ domain: ironcore.dev layout: - go.kubebuilder.io/v4 -projectName: ipxe-operator -repo: github.com/ironcore-dev/ipxe-operator +projectName: boot-operator +repo: github.com/ironcore-dev/boot-operator resources: -- api: - crdVersion: v1 - namespaced: true - controller: true - domain: ironcore.dev - group: boot - kind: IPXEBootConfig - path: github.com/ironcore-dev/ipxe-operator/api/v1alpha1 - version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -24,6 +15,6 @@ resources: domain: ironcore.dev group: boot kind: HTTPBootConfig - path: github.com/ironcore-dev/ipxe-operator/api/v1alpha1 + path: github.com/ironcore-dev/boot-operator/api/v1alpha1 version: v1alpha1 version: "3" diff --git a/README.md b/README.md index e82bc197..479f4cc9 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,24 @@ -# ipxe-operator +# boot-operator -[![REUSE status](https://api.reuse.software/badge/github.com/ironcore-dev/ipxe-operator)](https://api.reuse.software/info/github.com/ironcore-dev/ipxe-operator) -[![Go Report Card](https://goreportcard.com/badge/github.com/ironcore-dev/ipxe-operator)](https://goreportcard.com/report/github.com/ironcore-dev/ipxe-operator) +[![REUSE status](https://api.reuse.software/badge/github.com/ironcore-dev/boot-operator)](https://api.reuse.software/info/github.com/ironcore-dev/boot-operator) +[![Go Report Card](https://goreportcard.com/badge/github.com/ironcore-dev/boot-operator)](https://goreportcard.com/report/github.com/ironcore-dev/boot-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) -The iPXE Operator is a Kubernetes controller designed to streamline the management of iPXE infrastructure within Kubernetes environments. This operator simplifies network booting processes by automating iPXE script generation and ignition content delivery based on Kubernetes Custom Resource Definitions (CRDs). +The Boot Operator is a Kubernetes controller designed to streamline the management of Boot infrastructure such as HTTPBoot within Kubernetes environments. This operator simplifies network booting processes by automating HTTPBoot UKI URL generation and ignition content delivery based on Kubernetes Custom Resource Definitions (CRDs). ## Key Components -- __IPXE HTTP Server__: Serves dynamic iPXE scripts and ignition content through HTTP endpoints, tailored to individual machine specifications. +- __HTTP Boot Server__: Serves dynamic HTTP Boot Responses and ignition content through HTTP endpoints, tailored to individual machine specifications. -- __Reconciler__: Configures the IPXE HTTP Server based on the desired state specified in `IPXEBootConfiguration` CRDs, ensuring the server's configuration aligns with cluster resources. +- __Reconciler__: Configures the HTTP Server based on the desired state specified in `HTTPBootConfig` CRs, ensuring the server's configuration aligns with cluster resources. -- __Translator (Optional)__: Converts `BootConfiguration` CustomResources from MetalAPI provided by `Ironcore` into the format expected by the iPXE Operator, enhancing integration capabilities. +- __Translator (Optional)__: Converts `BootConfig` CustomResources from MetalAPI provided by `Ironcore` into the format expected by the HTTPBoot Operator, enhancing integration capabilities. ## HTTP Server Endpoints -- `/ignition/{UUID}`: Matches an `IPXEBootConfiguration` using the provided `{UUID}` (Spec.systemUUID) and serves the associated ignition content. +- `/ignition/{UUID}`: Matches an `HTTPBootConfig` using the provided `{UUID}` (Spec.systemUUID) and serves the associated ignition content. -- `/ipxe`: Identifies the corresponding `IPXEBootConfiguration` based on the requester's system IP (Spec.SystemIP). It then renders the `templates/ipxe-script.tpl` with values from the CRD (e.g., KernelURL, InitrdURL, SquashfsURL) and returns the customized iPXE script. +- `/httpboot`: Identifies the corresponding `HTTPBootConfig` based on the requester's system IP (Spec.SystemIP). It then returns the customized UKIURL associated with the `HTTPBootConfig`. ## Getting Started @@ -32,7 +32,7 @@ The iPXE Operator is a Kubernetes controller designed to streamline the manageme **Build and push your image to the location specified by `IMG`:** ```sh -make docker-build docker-push IMG=/ipxe-operator:tag +make docker-build docker-push IMG=/boot-operator:tag ``` **NOTE:** This image ought to be published in the personal registry you specified. @@ -48,7 +48,7 @@ make install **Deploy the Manager to the cluster with the image specified by `IMG`:** ```sh -make deploy IMG=/ipxe-operator:tag +make deploy IMG=/boot-operator:tag ``` > **NOTE**: If you encounter RBAC errors, you may need to grant yourself cluster-admin @@ -89,7 +89,7 @@ Following are the steps to build the installer and distribute this project to us 1. Build the installer for the image built and published in the registry: ```sh -make build-installer IMG=/ipxe-operator:tag +make build-installer IMG=/boot-operator:tag ``` NOTE: The makefile target mentioned above generates an 'install.yaml' @@ -102,7 +102,7 @@ its dependencies. Users can just run kubectl apply -f to install the project, i.e.: ```sh -kubectl apply -f https://raw.githubusercontent.com//ipxe-operator//dist/install.yaml +kubectl apply -f https://raw.githubusercontent.com//boot-operator//dist/install.yaml ``` **NOTE:** Run `make help` for more information on all potential `make` targets @@ -111,7 +111,7 @@ More information can be found via the [Kubebuilder Documentation](https://book.k ## Roadmap -Looking ahead, the iPXE Operator aims to introduce a range of enhancements to further empower Kubernetes-driven infrastructure provisioning: +Looking ahead, the boot-Operator aims to introduce a range of enhancements to further empower Kubernetes-driven infrastructure provisioning: - Configurable iPXE Scripts: Enable customization of iPXE script templates to accommodate diverse booting requirements. diff --git a/cmd/main.go b/cmd/main.go index 9af080ad..b13354e3 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -27,9 +27,9 @@ import ( metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server" "sigs.k8s.io/controller-runtime/pkg/webhook" - bootv1alpha1 "github.com/ironcore-dev/ipxe-operator/api/v1alpha1" - "github.com/ironcore-dev/ipxe-operator/internal/controller" - bootserver "github.com/ironcore-dev/ipxe-operator/server" + bootv1alpha1 "github.com/ironcore-dev/boot-operator/api/v1alpha1" + "github.com/ironcore-dev/boot-operator/internal/controller" + bootserver "github.com/ironcore-dev/boot-operator/server" //+kubebuilder:scaffold:imports ) @@ -41,7 +41,6 @@ var ( const ( // core controllers - serverBootConfigControllerPxe = "serverbootconfigpxe" httpBootConfigController = "httpbootconfig" serverBootConfigControllerHttp = "serverbootconfighttp" ) @@ -69,7 +68,7 @@ func main() { flag.StringVar(&imageServerURL, "image-server-url", "", "OS Image Server URL.") flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.") flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.") - flag.StringVar(&bootserverAddr, "boot-server-address", ":8082", "The address the ipxe-server binds to.") + flag.StringVar(&bootserverAddr, "boot-server-address", ":8082", "The address the boot-server binds to.") flag.BoolVar(&enableLeaderElection, "leader-elect", false, "Enable leader election for controller manager. "+ "Enabling this will ensure there is only one active controller manager.") diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index 4a716978..62eab54a 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -8,13 +8,11 @@ resources: patches: # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix. # patches here are for enabling the conversion webhook for each CRD -#- path: patches/webhook_in_ipxebootconfigs.yaml #- path: patches/webhook_in_httpbootconfigs.yaml #+kubebuilder:scaffold:crdkustomizewebhookpatch # [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix. # patches here are for enabling the CA injection for each CRD -#- path: patches/cainjection_in_ipxebootconfigs.yaml #- path: patches/cainjection_in_httpbootconfigs.yaml #+kubebuilder:scaffold:crdkustomizecainjectionpatch diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index 71b88331..01d38710 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -1,12 +1,12 @@ # Adds namespace to all resources. -namespace: ipxe-operator-system +namespace: boot-operator-system # Value of this field is prepended to the # names of all resources, e.g. a deployment named # "wordpress" becomes "alices-wordpress". # Note that it should also match with the prefix (text before '-') of the namespace # field above. -namePrefix: ipxe-operator- +namePrefix: boot-operator- # Labels to add to all resources and selectors. #labels: diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 13cc0d69..7bf19e97 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -6,8 +6,8 @@ metadata: app.kubernetes.io/name: namespace app.kubernetes.io/instance: system app.kubernetes.io/component: manager - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: system --- @@ -21,8 +21,8 @@ metadata: app.kubernetes.io/name: deployment app.kubernetes.io/instance: controller-manager app.kubernetes.io/component: manager - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize spec: selector: diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index 4a4e09b2..93c97592 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -7,8 +7,8 @@ metadata: app.kubernetes.io/name: servicemonitor app.kubernetes.io/instance: controller-manager-metrics-monitor app.kubernetes.io/component: metrics - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: controller-manager-metrics-monitor namespace: system diff --git a/config/rbac/auth_proxy_client_clusterrole.yaml b/config/rbac/auth_proxy_client_clusterrole.yaml index cbf85c10..79e723c0 100644 --- a/config/rbac/auth_proxy_client_clusterrole.yaml +++ b/config/rbac/auth_proxy_client_clusterrole.yaml @@ -5,8 +5,8 @@ metadata: app.kubernetes.io/name: clusterrole app.kubernetes.io/instance: metrics-reader app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: metrics-reader rules: diff --git a/config/rbac/auth_proxy_role.yaml b/config/rbac/auth_proxy_role.yaml index d128b973..90a53169 100644 --- a/config/rbac/auth_proxy_role.yaml +++ b/config/rbac/auth_proxy_role.yaml @@ -5,8 +5,8 @@ metadata: app.kubernetes.io/name: clusterrole app.kubernetes.io/instance: proxy-role app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: proxy-role rules: diff --git a/config/rbac/auth_proxy_role_binding.yaml b/config/rbac/auth_proxy_role_binding.yaml index 53210b6a..c23fc7e2 100644 --- a/config/rbac/auth_proxy_role_binding.yaml +++ b/config/rbac/auth_proxy_role_binding.yaml @@ -5,8 +5,8 @@ metadata: app.kubernetes.io/name: clusterrolebinding app.kubernetes.io/instance: proxy-rolebinding app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: proxy-rolebinding roleRef: diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index 2642b5d2..8d14ae6f 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -6,8 +6,8 @@ metadata: app.kubernetes.io/name: service app.kubernetes.io/instance: controller-manager-metrics-service app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: controller-manager-metrics-service namespace: system diff --git a/config/rbac/httpbootconfig_editor_role.yaml b/config/rbac/httpbootconfig_editor_role.yaml index f772cfeb..632f5afe 100644 --- a/config/rbac/httpbootconfig_editor_role.yaml +++ b/config/rbac/httpbootconfig_editor_role.yaml @@ -6,8 +6,8 @@ metadata: app.kubernetes.io/name: clusterrole app.kubernetes.io/instance: httpbootconfig-editor-role app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: httpbootconfig-editor-role rules: diff --git a/config/rbac/httpbootconfig_viewer_role.yaml b/config/rbac/httpbootconfig_viewer_role.yaml index 76a9b316..e1be0fc8 100644 --- a/config/rbac/httpbootconfig_viewer_role.yaml +++ b/config/rbac/httpbootconfig_viewer_role.yaml @@ -6,8 +6,8 @@ metadata: app.kubernetes.io/name: clusterrole app.kubernetes.io/instance: httpbootconfig-viewer-role app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: httpbootconfig-viewer-role rules: diff --git a/config/rbac/leader_election_role.yaml b/config/rbac/leader_election_role.yaml index a70db992..e5d2939a 100644 --- a/config/rbac/leader_election_role.yaml +++ b/config/rbac/leader_election_role.yaml @@ -6,8 +6,8 @@ metadata: app.kubernetes.io/name: role app.kubernetes.io/instance: leader-election-role app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: leader-election-role rules: diff --git a/config/rbac/leader_election_role_binding.yaml b/config/rbac/leader_election_role_binding.yaml index aeeb3983..54376f88 100644 --- a/config/rbac/leader_election_role_binding.yaml +++ b/config/rbac/leader_election_role_binding.yaml @@ -5,8 +5,8 @@ metadata: app.kubernetes.io/name: rolebinding app.kubernetes.io/instance: leader-election-rolebinding app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: leader-election-rolebinding roleRef: diff --git a/config/rbac/role_binding.yaml b/config/rbac/role_binding.yaml index 69ba4867..d28013a2 100644 --- a/config/rbac/role_binding.yaml +++ b/config/rbac/role_binding.yaml @@ -5,8 +5,8 @@ metadata: app.kubernetes.io/name: clusterrolebinding app.kubernetes.io/instance: manager-rolebinding app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: manager-rolebinding roleRef: diff --git a/config/rbac/service_account.yaml b/config/rbac/service_account.yaml index 59654ff0..05081232 100644 --- a/config/rbac/service_account.yaml +++ b/config/rbac/service_account.yaml @@ -5,8 +5,8 @@ metadata: app.kubernetes.io/name: serviceaccount app.kubernetes.io/instance: controller-manager-sa app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: ipxe-operator - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/created-by: boot-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize name: controller-manager namespace: system diff --git a/config/samples/httpbootconfig.yaml b/config/samples/httpbootconfig.yaml index 54f741db..d19701a6 100644 --- a/config/samples/httpbootconfig.yaml +++ b/config/samples/httpbootconfig.yaml @@ -4,9 +4,9 @@ metadata: labels: app.kubernetes.io/name: httpbootconfig app.kubernetes.io/instance: httpbootconfig-sample - app.kubernetes.io/part-of: ipxe-operator + app.kubernetes.io/part-of: boot-operator app.kubernetes.io/managed-by: kustomize - app.kubernetes.io/created-by: ipxe-operator + app.kubernetes.io/created-by: boot-operator name: httpbootconfig-sample spec: systemUUID: 1234 diff --git a/go.mod b/go.mod index a28888d0..b8a163ec 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ironcore-dev/ipxe-operator +module github.com/ironcore-dev/boot-operator go 1.22.2 diff --git a/internal/controller/httpbootconfig_controller.go b/internal/controller/httpbootconfig_controller.go index 7117763f..dc238b4d 100644 --- a/internal/controller/httpbootconfig_controller.go +++ b/internal/controller/httpbootconfig_controller.go @@ -17,7 +17,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/reconcile" "github.com/go-logr/logr" - bootv1alpha1 "github.com/ironcore-dev/ipxe-operator/api/v1alpha1" + bootv1alpha1 "github.com/ironcore-dev/boot-operator/api/v1alpha1" ) // HTTPBootConfigReconciler reconciles a HTTPBootConfig object diff --git a/internal/controller/httpbootconfig_controller_test.go b/internal/controller/httpbootconfig_controller_test.go index 40a03d72..606c62a7 100644 --- a/internal/controller/httpbootconfig_controller_test.go +++ b/internal/controller/httpbootconfig_controller_test.go @@ -14,7 +14,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - bootv1alpha1 "github.com/ironcore-dev/ipxe-operator/api/v1alpha1" + bootv1alpha1 "github.com/ironcore-dev/boot-operator/api/v1alpha1" ) var _ = Describe("HTTPBootConfig Controller", func() { diff --git a/internal/controller/serverbootconfiguration_http_controller.go b/internal/controller/serverbootconfiguration_http_controller.go index 7c4b729b..12f2d3dd 100644 --- a/internal/controller/serverbootconfiguration_http_controller.go +++ b/internal/controller/serverbootconfiguration_http_controller.go @@ -6,8 +6,7 @@ import ( "strings" "github.com/go-logr/logr" - "github.com/ironcore-dev/ipxe-operator/api/v1alpha1" - bootv1alpha1 "github.com/ironcore-dev/ipxe-operator/api/v1alpha1" + bootv1alpha1 "github.com/ironcore-dev/boot-operator/api/v1alpha1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" @@ -115,7 +114,7 @@ func (r *ServerBootConfigurationHTTPReconciler) reconcile(ctx context.Context, l return ctrl.Result{}, nil } -func (r *ServerBootConfigurationHTTPReconciler) patchConfigStateFromHTTPState(ctx context.Context, httpBootConfig *v1alpha1.HTTPBootConfig, config *metalv1alpha1.ServerBootConfiguration) error { +func (r *ServerBootConfigurationHTTPReconciler) patchConfigStateFromHTTPState(ctx context.Context, httpBootConfig *bootv1alpha1.HTTPBootConfig, config *metalv1alpha1.ServerBootConfiguration) error { if httpBootConfig.Status.State == bootv1alpha1.HTTPBootConfigStateReady { return r.patchState(ctx, config, metalv1alpha1.ServerBootConfigurationStateReady) } @@ -175,6 +174,6 @@ func (r *ServerBootConfigurationHTTPReconciler) constructUKIURL(image string) (s func (r *ServerBootConfigurationHTTPReconciler) SetupWithManager(mgr ctrl.Manager) error { return ctrl.NewControllerManagedBy(mgr). For(&metalv1alpha1.ServerBootConfiguration{}). - Owns(&v1alpha1.HTTPBootConfig{}). + Owns(&bootv1alpha1.HTTPBootConfig{}). Complete(r) } diff --git a/internal/controller/suite_test.go b/internal/controller/suite_test.go index 8257e656..be2f1056 100644 --- a/internal/controller/suite_test.go +++ b/internal/controller/suite_test.go @@ -29,7 +29,7 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - bootv1alpha1 "github.com/ironcore-dev/ipxe-operator/api/v1alpha1" + bootv1alpha1 "github.com/ironcore-dev/boot-operator/api/v1alpha1" //+kubebuilder:scaffold:imports ) diff --git a/server/bootserver.go b/server/bootserver.go index 5f63ef81..8e10f217 100644 --- a/server/bootserver.go +++ b/server/bootserver.go @@ -17,7 +17,7 @@ import ( butaneconfig "github.com/coreos/butane/config" butanecommon "github.com/coreos/butane/config/common" "github.com/go-logr/logr" - bootv1alpha1 "github.com/ironcore-dev/ipxe-operator/api/v1alpha1" + bootv1alpha1 "github.com/ironcore-dev/boot-operator/api/v1alpha1" ) func RunBootServer(k8sClient client.Client, log logr.Logger, bootserverAddr string, defaultUKIURL string) { diff --git a/test/e2e/e2e_suite_test.go b/test/e2e/e2e_suite_test.go index ab4ac4da..89a8c376 100644 --- a/test/e2e/e2e_suite_test.go +++ b/test/e2e/e2e_suite_test.go @@ -14,6 +14,6 @@ import ( // Run e2e tests using the Ginkgo runner. func TestE2E(t *testing.T) { RegisterFailHandler(Fail) - fmt.Fprintf(GinkgoWriter, "Starting ipxe-operator suite\n") + fmt.Fprintf(GinkgoWriter, "Starting boot-operator suite\n") RunSpecs(t, "e2e suite") } diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index b2c491b5..3a6f050b 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -11,10 +11,10 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/ironcore-dev/ipxe-operator/test/utils" + "github.com/ironcore-dev/boot-operator/test/utils" ) -const namespace = "ipxe-operator-system" +const namespace = "boot-operator-system" var _ = Describe("controller", Ordered, func() { BeforeAll(func() { @@ -47,7 +47,7 @@ var _ = Describe("controller", Ordered, func() { var err error // projectimage stores the name of the image used in the example - var projectimage = "example.com/ipxe-operator:v0.0.1" + var projectimage = "example.com/boot-operator:v0.0.1" By("building the manager(Operator) image") cmd := exec.Command("make", "docker-build", fmt.Sprintf("IMG=%s", projectimage))