Skip to content

Commit

Permalink
Merge pull request #112 from andyli029/210608_operator_init
Browse files Browse the repository at this point in the history
*: modify the repo
  • Loading branch information
andyli029 authored Jun 9, 2021
2 parents ca17a18 + 994c439 commit ed59b60
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion PROJECT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
domain: radondb.com
repo: github.com/radondb/radondb-mysql-operator
repo: github.com/radondb/radondb-mysql-kubernetes
resources:
- group: mysql
kind: Cluster
Expand Down
4 changes: 2 additions & 2 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Adds namespace to all resources.
namespace: radondb-mysql-operator-system
namespace: radondb-mysql-kubernetes-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: radondb-mysql-operator-
namePrefix: radondb-mysql-kubernetes-

# Labels to add to all resources and selectors.
#commonLabels:
Expand Down
2 changes: 1 addition & 1 deletion controllers/cluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"

mysqlv1alpha1 "github.com/radondb/radondb-mysql-operator/api/v1alpha1"
mysqlv1alpha1 "github.com/radondb/radondb-mysql-kubernetes/api/v1alpha1"
)

// ClusterReconciler reconciles a Cluster object
Expand Down
2 changes: 1 addition & 1 deletion controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

mysqlv1alpha1 "github.com/radondb/radondb-mysql-operator/api/v1alpha1"
mysqlv1alpha1 "github.com/radondb/radondb-mysql-kubernetes/api/v1alpha1"
// +kubebuilder:scaffold:imports
)

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/radondb/radondb-mysql-operator
module github.com/radondb/radondb-mysql-kubernetes

go 1.13

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

mysqlv1alpha1 "github.com/radondb/radondb-mysql-operator/api/v1alpha1"
"github.com/radondb/radondb-mysql-operator/controllers"
mysqlv1alpha1 "github.com/radondb/radondb-mysql-kubernetes/api/v1alpha1"
"github.com/radondb/radondb-mysql-kubernetes/controllers"
// +kubebuilder:scaffold:imports
)

Expand Down

0 comments on commit ed59b60

Please sign in to comment.