Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
21 changes: 2 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.

Comment thread
umago marked this conversation as resolved.
## Development

### Running Pre-Commit Hooks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/openstack-lightspeed/operator
module github.com/openstack-k8s-operators/lightspeed-operator

go 1.24.6

Expand Down
2 changes: 1 addition & 1 deletion internal/controller/ca_bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/ca_bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/console_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/console_reconciler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/lcore_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/lcore_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/lcore_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/llama_stack_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/controller/llama_stack_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/ocp_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/ocp_version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/okp_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/openstacklightspeed_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/openstacklightspeed_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/postgres_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/postgres_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/reconcile_tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading