Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename repository to kube-arangodb #48

Merged
merged 2 commits into from
Mar 13, 2018
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
2 changes: 1 addition & 1 deletion Jenkinsfile.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def buildCleanupSteps(String kubeConfigRoot, String kubeconfig) {
pipeline {
options {
buildDiscarder(logRotator(daysToKeepStr: '7', numToKeepStr: '10'))
lock resource: 'k8s-operator'
lock resource: 'kube-arangodb'
}
agent any
parameters {
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ VENDORDIR := $(ROOTDIR)/deps

ORGPATH := github.com/arangodb
ORGDIR := $(GOBUILDDIR)/src/$(ORGPATH)
REPONAME := k8s-operator
REPONAME := kube-arangodb
REPODIR := $(ORGDIR)/$(REPONAME)
REPOPATH := $(ORGPATH)/$(REPONAME)

Expand Down Expand Up @@ -154,8 +154,8 @@ update-generated: $(GOBUILDDIR)
k8s-codegen \
"./deps/k8s.io/code-generator/generate-groups.sh" \
"all" \
"github.com/arangodb/k8s-operator/pkg/generated" \
"github.com/arangodb/k8s-operator/pkg/apis" \
"github.com/arangodb/kube-arangodb/pkg/generated" \
"github.com/arangodb/kube-arangodb/pkg/apis" \
"deployment:v1alpha storage:v1alpha" \
--go-header-file "./tools/codegen/boilerplate.go.txt" \
$(VERIFYARGS)
Expand Down
12 changes: 6 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ import (
"k8s.io/client-go/tools/leaderelection/resourcelock"
"k8s.io/client-go/tools/record"

"github.com/arangodb/k8s-operator/pkg/client"
"github.com/arangodb/k8s-operator/pkg/logging"
"github.com/arangodb/k8s-operator/pkg/operator"
"github.com/arangodb/k8s-operator/pkg/util/constants"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/retry"
"github.com/arangodb/kube-arangodb/pkg/client"
"github.com/arangodb/kube-arangodb/pkg/logging"
"github.com/arangodb/kube-arangodb/pkg/operator"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/retry"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/deployment/v1alpha/authentication_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ package v1alpha
import (
"github.com/pkg/errors"

"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// AuthenticationSpec holds authentication specific configuration settings
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/deployment/v1alpha/monitoring_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
package v1alpha

import (
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// MonitoringSpec holds monitoring specific configuration settings
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/deployment/v1alpha/rocksdb_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
package v1alpha

import (
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// RocksDBEncryptionSpec holds rocksdb encryption at rest specific configuration settings
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/deployment/v1alpha/tls_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"net"
"time"

"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/validation"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/validation"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/storage/v1alpha/storage_class_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
package v1alpha

import (
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// StorageClassSpec contains specification for create StorageClass.
Expand Down
4 changes: 2 additions & 2 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"github.com/pkg/errors"
"k8s.io/client-go/rest"

"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/deployment/client_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"k8s.io/client-go/kubernetes"

driver "github.com/arangodb/go-driver"
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/arangod"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/arangod"
)

type clientCache struct {
Expand Down
10 changes: 5 additions & 5 deletions pkg/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ import (
"k8s.io/client-go/kubernetes"
corev1 "k8s.io/client-go/kubernetes/typed/core/v1"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/k8s-operator/pkg/util/retry"
"github.com/arangodb/k8s-operator/pkg/util/trigger"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/retry"
"github.com/arangodb/kube-arangodb/pkg/util/trigger"
)

// Config holds configuration settings for a Deployment
Expand Down
4 changes: 2 additions & 2 deletions pkg/deployment/members.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (
"fmt"
"strings"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/dchest/uniuri"

"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// createInitialMembers creates all members needed for the initial state of the deployment.
Expand Down
2 changes: 1 addition & 1 deletion pkg/deployment/plan_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
package deployment

import (
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/rs/zerolog"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/deployment/plan_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)

// TestCreatePlanSingleScale creates a `single` deployment to test the creating of scaling plan.
Expand Down
4 changes: 2 additions & 2 deletions pkg/deployment/plan_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// executePlan tries to execute the plan as far as possible.
Expand Down
8 changes: 4 additions & 4 deletions pkg/deployment/pod_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ import (
"strconv"
"strings"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/arangod"
"github.com/arangodb/k8s-operator/pkg/util/constants"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/arangod"
"github.com/arangodb/kube-arangodb/pkg/util/constants"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/deployment/pod_creator_agent_args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)

// TestCreateArangodArgsAgent tests createArangodArgs for agent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/deployment/pod_creator_coordinator_args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)

// TestCreateArangodArgsCoordinator tests createArangodArgs for coordinator.
Expand Down
2 changes: 1 addition & 1 deletion pkg/deployment/pod_creator_dbserver_args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
)

// TestCreateArangodArgsDBServer tests createArangodArgs for dbserver.
Expand Down
2 changes: 1 addition & 1 deletion pkg/deployment/pod_creator_single_args_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"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/deployment/pod_inspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
package deployment

import (
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
"k8s.io/api/core/v1"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/metrics"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/metrics"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/deployment/pvcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
package deployment

import (
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"

"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// ensurePVCs creates all PVC's listed in member status
Expand Down
4 changes: 2 additions & 2 deletions pkg/deployment/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// createSecrets creates all secrets needed to run the given deployment
Expand Down
4 changes: 2 additions & 2 deletions pkg/deployment/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
package deployment

import (
api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

// createServices creates all services needed to service the given deployment
Expand Down
4 changes: 2 additions & 2 deletions pkg/deployment/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes/typed/core/v1"

api "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/util/k8sutil"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/generated/clientset/versioned/clientset.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
package versioned

import (
databasev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
storagev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/storage/v1alpha"
databasev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
storagev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/storage/v1alpha"
glog "github.com/golang/glog"
discovery "k8s.io/client-go/discovery"
rest "k8s.io/client-go/rest"
Expand Down
10 changes: 5 additions & 5 deletions pkg/generated/clientset/versioned/fake/clientset_generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
package fake

import (
clientset "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned"
databasev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
fakedatabasev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake"
storagev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/storage/v1alpha"
fakestoragev1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake"
clientset "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned"
databasev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
fakedatabasev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake"
storagev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/storage/v1alpha"
fakestoragev1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/watch"
"k8s.io/client-go/discovery"
Expand Down
4 changes: 2 additions & 2 deletions pkg/generated/clientset/versioned/fake/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
package fake

import (
databasev1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
storagev1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
databasev1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
storagev1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
4 changes: 2 additions & 2 deletions pkg/generated/clientset/versioned/scheme/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
package scheme

import (
databasev1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
storagev1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
databasev1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
storagev1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
package v1alpha

import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
scheme "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/scheme"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
scheme "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
package v1alpha

import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
"github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/scheme"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
"github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme"
serializer "k8s.io/apimachinery/pkg/runtime/serializer"
rest "k8s.io/client-go/rest"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package fake

import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/deployment/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package fake

import (
v1alpha "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha"
rest "k8s.io/client-go/rest"
testing "k8s.io/client-go/testing"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
package v1alpha

import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
scheme "github.com/arangodb/k8s-operator/pkg/generated/clientset/versioned/scheme"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
scheme "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package fake

import (
v1alpha "github.com/arangodb/k8s-operator/pkg/apis/storage/v1alpha"
v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/storage/v1alpha"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
Loading