Skip to content
Snippets Groups Projects
Unverified Commit ed59b603 authored by andyli's avatar andyli Committed by GitHub
Browse files

Merge pull request #112 from andyli029/210608_operator_init

*: modify the repo
parents ca17a18e 994c439b
No related branches found
No related tags found
No related merge requests found
domain: radondb.com domain: radondb.com
repo: github.com/radondb/radondb-mysql-operator repo: github.com/radondb/radondb-mysql-kubernetes
resources: resources:
- group: mysql - group: mysql
kind: Cluster kind: Cluster
......
# Adds namespace to all resources. # Adds namespace to all resources.
namespace: radondb-mysql-operator-system namespace: radondb-mysql-kubernetes-system
# Value of this field is prepended to the # Value of this field is prepended to the
# names of all resources, e.g. a deployment named # names of all resources, e.g. a deployment named
# "wordpress" becomes "alices-wordpress". # "wordpress" becomes "alices-wordpress".
# Note that it should also match with the prefix (text before '-') of the namespace # Note that it should also match with the prefix (text before '-') of the namespace
# field above. # field above.
namePrefix: radondb-mysql-operator- namePrefix: radondb-mysql-kubernetes-
# Labels to add to all resources and selectors. # Labels to add to all resources and selectors.
#commonLabels: #commonLabels:
......
...@@ -24,7 +24,7 @@ import ( ...@@ -24,7 +24,7 @@ import (
ctrl "sigs.k8s.io/controller-runtime" ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client" "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 // ClusterReconciler reconciles a Cluster object
......
...@@ -30,7 +30,7 @@ import ( ...@@ -30,7 +30,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log" logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap" "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 // +kubebuilder:scaffold:imports
) )
......
...@@ -26,8 +26,8 @@ import ( ...@@ -26,8 +26,8 @@ import (
ctrl "sigs.k8s.io/controller-runtime" ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/log/zap" "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"
"github.com/radondb/radondb-mysql-operator/controllers" "github.com/radondb/radondb-mysql-kubernetes/controllers"
// +kubebuilder:scaffold:imports // +kubebuilder:scaffold:imports
) )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment