diff --git a/PROJECT b/PROJECT index e4bc708..3a7f081 100644 --- a/PROJECT +++ b/PROJECT @@ -10,7 +10,7 @@ plugins: scorecard.sdk.operatorframework.io/v2: {} sdk.x-openshift.io/v1: {} projectName: openstack-lightspeed-operator -repo: github.com/openstack-lightspeed/operator +repo: github.com/openstack-k8s-operators/lightspeed-operator resources: - api: crdVersion: v1 @@ -19,6 +19,6 @@ resources: domain: openstack.org group: lightspeed kind: OpenStackLightspeed - path: github.com/openstack-lightspeed/operator/api/v1beta1 + path: github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1 version: v1beta1 version: "3" diff --git a/README.md b/README.md index d01f6e9..c1e9b9f 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ cd ../.. Get the operator repository: ```bash -git clone https://github.com/openstack-lightspeed/operator.git -cd operator +git clone https://github.com/openstack-k8s-operators/lightspeed-operator.git +cd lightspeed-operator ``` First, deploy OpenStack Lightspeed Operator: @@ -185,23 +185,6 @@ Use this for quick development and testing. *Attention*: In this mode RBACs are ignored, so when changing those please run the operator in the OpenShift cluster with an image. -## Quickstart - -### Run OpenShift Cluster - -We'll use CRC and deploy it using the development tools from `install_yamls`. - -Get install-yamls: -```bash -git clone https://github.com/openstack-k8s-operators/install_yamls.git -cd install_yamls/devsetup -make download_tools -``` - -Get pull credentials (pull secret) from `https://cloud.redhat.com/openshift/create/local` -and save it in `pull-secret.txt` of the current path, or you can save it anywhere -and use the `PULL_SECRET` env var to point to it like in the next example. - ## Development ### Running Pre-Commit Hooks diff --git a/bundle/manifests/openstack-lightspeed-operator.clusterserviceversion.yaml b/bundle/manifests/openstack-lightspeed-operator.clusterserviceversion.yaml index fb4b7d4..a98f96a 100644 --- a/bundle/manifests/openstack-lightspeed-operator.clusterserviceversion.yaml +++ b/bundle/manifests/openstack-lightspeed-operator.clusterserviceversion.yaml @@ -40,7 +40,7 @@ metadata: operatorframework.io/suggested-namespace: openstack-lightspeed operators.operatorframework.io/builder: operator-sdk-v1.38.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 - repository: https://github.com/openstack-lightspeed/operator + repository: https://github.com/openstack-k8s-operators/lightspeed-operator name: openstack-lightspeed-operator.v0.0.1 namespace: openstack-lightspeed spec: @@ -472,7 +472,7 @@ spec: - llm links: - name: OpenStack Lightspeed Operator - url: https://github.com/openstack-lightspeed/operator + url: https://github.com/openstack-k8s-operators/lightspeed-operator maintainers: - email: lmartins@redhat.com name: Lucas Alvares Gomes @@ -484,7 +484,7 @@ spec: minKubeVersion: 1.31.0 provider: name: Red Hat - url: https://github.com/openstack-lightspeed/operator + url: https://github.com/openstack-k8s-operators/lightspeed-operator relatedImages: - image: quay.io/openstack-lightspeed/rag-content:os-docs-2026.1-ogx name: openstack-lightspeed-image-url-default diff --git a/cmd/main.go b/cmd/main.go index 519dd04..6576d60 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -42,8 +42,8 @@ import ( openshiftv1 "github.com/openshift/api/operator/v1" operatorsv1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" - "github.com/openstack-lightspeed/operator/internal/controller" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" + "github.com/openstack-k8s-operators/lightspeed-operator/internal/controller" // +kubebuilder:scaffold:imports ) diff --git a/config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml b/config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml index 41daa0d..5d55817 100644 --- a/config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml @@ -17,7 +17,7 @@ metadata: features.operators.openshift.io/token-auth-azure: "false" features.operators.openshift.io/token-auth-gcp: "false" operatorframework.io/suggested-namespace: openstack-lightspeed - repository: https://github.com/openstack-lightspeed/operator + repository: https://github.com/openstack-k8s-operators/lightspeed-operator name: openstack-lightspeed-operator.v0.0.0 namespace: openstack-lightspeed spec: @@ -155,7 +155,7 @@ spec: - llm links: - name: OpenStack Lightspeed Operator - url: https://github.com/openstack-lightspeed/operator + url: https://github.com/openstack-k8s-operators/lightspeed-operator maintainers: - email: lmartins@redhat.com name: Lucas Alvares Gomes @@ -167,7 +167,7 @@ spec: minKubeVersion: 1.31.0 provider: name: Red Hat - url: https://github.com/openstack-lightspeed/operator + url: https://github.com/openstack-k8s-operators/lightspeed-operator relatedImages: - image: quay.io/openstack-lightspeed/operator:latest name: operator diff --git a/go.mod b/go.mod index 603dd82..c832f9a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/openstack-lightspeed/operator +module github.com/openstack-k8s-operators/lightspeed-operator go 1.24.6 diff --git a/internal/controller/ca_bundle.go b/internal/controller/ca_bundle.go index 7c43a1d..57ba557 100644 --- a/internal/controller/ca_bundle.go +++ b/internal/controller/ca_bundle.go @@ -27,7 +27,7 @@ import ( "time" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/internal/controller/ca_bundle_test.go b/internal/controller/ca_bundle_test.go index 5105ed3..eeef2b4 100644 --- a/internal/controller/ca_bundle_test.go +++ b/internal/controller/ca_bundle_test.go @@ -34,7 +34,7 @@ import ( "time" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/controller/common.go b/internal/controller/common.go index c4b4d94..2755a38 100644 --- a/internal/controller/common.go +++ b/internal/controller/common.go @@ -26,7 +26,7 @@ import ( "strings" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" k8s_errors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/controller/console_reconciler.go b/internal/controller/console_reconciler.go index 739f942..3006153 100644 --- a/internal/controller/console_reconciler.go +++ b/internal/controller/console_reconciler.go @@ -27,7 +27,7 @@ import ( consolev1 "github.com/openshift/api/console/v1" openshiftv1 "github.com/openshift/api/operator/v1" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/controller/console_reconciler_test.go b/internal/controller/console_reconciler_test.go index 9e75c10..9185506 100644 --- a/internal/controller/console_reconciler_test.go +++ b/internal/controller/console_reconciler_test.go @@ -21,7 +21,7 @@ import ( . "github.com/onsi/gomega" consolev1 "github.com/openshift/api/console/v1" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" diff --git a/internal/controller/lcore_config.go b/internal/controller/lcore_config.go index df2416a..5729570 100644 --- a/internal/controller/lcore_config.go +++ b/internal/controller/lcore_config.go @@ -21,7 +21,7 @@ import ( "fmt" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/yaml" diff --git a/internal/controller/lcore_deployment.go b/internal/controller/lcore_deployment.go index 120afbc..a9c6187 100644 --- a/internal/controller/lcore_deployment.go +++ b/internal/controller/lcore_deployment.go @@ -25,7 +25,7 @@ import ( "strings" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/resource" diff --git a/internal/controller/lcore_reconciler.go b/internal/controller/lcore_reconciler.go index 71cc819..6f7228e 100644 --- a/internal/controller/lcore_reconciler.go +++ b/internal/controller/lcore_reconciler.go @@ -22,7 +22,7 @@ import ( "time" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" diff --git a/internal/controller/llama_stack_config.go b/internal/controller/llama_stack_config.go index e3a4dc4..f0d054a 100644 --- a/internal/controller/llama_stack_config.go +++ b/internal/controller/llama_stack_config.go @@ -22,7 +22,7 @@ import ( "strings" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" "sigs.k8s.io/yaml" ) diff --git a/internal/controller/llama_stack_config_test.go b/internal/controller/llama_stack_config_test.go index 3f94375..9efc11c 100644 --- a/internal/controller/llama_stack_config_test.go +++ b/internal/controller/llama_stack_config_test.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" . "github.com/onsi/ginkgo/v2" diff --git a/internal/controller/ocp_version.go b/internal/controller/ocp_version.go index 14f65bc..169b3ec 100644 --- a/internal/controller/ocp_version.go +++ b/internal/controller/ocp_version.go @@ -25,7 +25,7 @@ import ( "github.com/openstack-k8s-operators/lib-common/modules/common/condition" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" uns "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime/schema" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/internal/controller/ocp_version_test.go b/internal/controller/ocp_version_test.go index 2ad5378..17f90d5 100644 --- a/internal/controller/ocp_version_test.go +++ b/internal/controller/ocp_version_test.go @@ -19,7 +19,7 @@ package controller import ( "testing" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" ) const ( diff --git a/internal/controller/okp_reconciler.go b/internal/controller/okp_reconciler.go index 9e9e953..a84b04c 100644 --- a/internal/controller/okp_reconciler.go +++ b/internal/controller/okp_reconciler.go @@ -21,7 +21,7 @@ import ( "fmt" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/controller/openstacklightspeed_controller.go b/internal/controller/openstacklightspeed_controller.go index 17f9be6..6f5f871 100644 --- a/internal/controller/openstacklightspeed_controller.go +++ b/internal/controller/openstacklightspeed_controller.go @@ -41,7 +41,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/predicate" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" ) // OpenStackLightspeedReconciler reconciles a OpenStackLightspeed object diff --git a/internal/controller/openstacklightspeed_controller_test.go b/internal/controller/openstacklightspeed_controller_test.go index b00b64c..feec7c6 100644 --- a/internal/controller/openstacklightspeed_controller_test.go +++ b/internal/controller/openstacklightspeed_controller_test.go @@ -27,7 +27,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" ) var _ = Describe("OpenStackLightspeed Controller", func() { diff --git a/internal/controller/postgres_deployment.go b/internal/controller/postgres_deployment.go index 72af028..1c51f8b 100644 --- a/internal/controller/postgres_deployment.go +++ b/internal/controller/postgres_deployment.go @@ -19,7 +19,7 @@ package controller import ( "strconv" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/controller/postgres_reconciler.go b/internal/controller/postgres_reconciler.go index cfdadb3..05e74e9 100644 --- a/internal/controller/postgres_reconciler.go +++ b/internal/controller/postgres_reconciler.go @@ -23,7 +23,7 @@ import ( "fmt" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" diff --git a/internal/controller/reconcile_tasks.go b/internal/controller/reconcile_tasks.go index e345c5b..df0825e 100644 --- a/internal/controller/reconcile_tasks.go +++ b/internal/controller/reconcile_tasks.go @@ -21,7 +21,7 @@ import ( "fmt" common_helper "github.com/openstack-k8s-operators/lib-common/modules/common/helper" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" ) // ReconcileFunc is a function that reconciles a single lcore resource. diff --git a/internal/controller/suite_test.go b/internal/controller/suite_test.go index 3b4c42b..be044bf 100644 --- a/internal/controller/suite_test.go +++ b/internal/controller/suite_test.go @@ -34,7 +34,7 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - apiv1beta1 "github.com/openstack-lightspeed/operator/api/v1beta1" + apiv1beta1 "github.com/openstack-k8s-operators/lightspeed-operator/api/v1beta1" // +kubebuilder:scaffold:imports ) diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index fa76e7c..cb13b02 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/openstack-lightspeed/operator/test/utils" + "github.com/openstack-k8s-operators/lightspeed-operator/test/utils" ) const namespace = "openstack-lightspeed-operator-system"