Skip to content

Commit 899c9ab

Browse files
committed
Rename project.
1 parent f3d0765 commit 899c9ab

39 files changed

+121
-121
lines changed

Jenkinsfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import java.util.regex.Pattern
22
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
33

4-
podTemplate(label: 'kubedb',
4+
podTemplate(label: 'k8sdb-controller',
55
containers: [
66
containerTemplate(
77
name: 'golang',
@@ -24,7 +24,7 @@ podTemplate(label: 'kubedb',
2424
hostPathVolume(mountPath: '/var/run/docker.sock', hostPath: '/var/run/docker.sock'),
2525
]
2626
) {
27-
node ('kubedb') {
27+
node ('k8sdb-controller') {
2828
ansiColor("xterm") {
2929
stage('checkout') {
3030
checkout(scm)
@@ -40,7 +40,7 @@ podTemplate(label: 'kubedb',
4040
}
4141

4242
container('helm') {
43-
sh 'helm lint chart/kubedb'
43+
sh 'helm lint chart/k8sdb-controller'
4444
}
4545
}
4646

@@ -57,17 +57,17 @@ podTemplate(label: 'kubedb',
5757
version = "$major.$minor.$patch$group"
5858

5959
container('docker') {
60-
sh "docker build . -t nexus.doodle.com:5000/devops/kubedb:${env.TAG_NAME}"
61-
sh "docker push nexus.doodle.com:5000/devops/kubedb:${env.TAG_NAME}"
60+
sh "docker build . -t nexus.doodle.com:5000/devops/k8sdb-controller:${env.TAG_NAME}"
61+
sh "docker push nexus.doodle.com:5000/devops/k8sdb-controller:${env.TAG_NAME}"
6262
}
6363

6464
container('helm') {
6565
bumpChartVersion(version)
6666
bumpImageVersion(env.TAG_NAME)
6767

68-
tgz="kubedb-${version}.tgz"
69-
sh "cp config/crd/bases/* chart/kubedb/crds"
70-
sh "helm package chart/kubedb"
68+
tgz="k8sdb-controller-${version}.tgz"
69+
sh "cp config/crd/bases/* chart/k8sdb-controller/crds"
70+
sh "helm package chart/k8sdb-controller"
7171
}
7272

7373
container('golang') {
@@ -108,7 +108,7 @@ void dockerAuth() {
108108

109109
def bumpImageVersion(String version) {
110110
echo "Update image tag"
111-
def valuesFile = "./chart/kubedb/values.yaml"
111+
def valuesFile = "./chart/k8sdb-controller/values.yaml"
112112
def valuesData = readYaml file: valuesFile
113113
valuesData.image.tag = version
114114

@@ -119,7 +119,7 @@ def bumpImageVersion(String version) {
119119
def bumpChartVersion(String version) {
120120
// Bump chart version
121121
echo "Update chart version"
122-
def chartFile = "./chart/kubedb/Chart.yaml"
122+
def chartFile = "./chart/k8sdb-controller/Chart.yaml"
123123
def chartData = readYaml file: chartFile
124124
chartData.version = version
125125
chartData.appVersion = version

PROJECT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
domain: doodle.com
2-
repo: github.com/doodlescheduling/kubedb
2+
repo: github.com/doodlescheduling/k8sdb-controller
33
resources:
44
- group: dbprovisioning.infra.doodle.com
55
kind: MongoDBDatabase

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ data:
9090
9191
## Helm chart
9292
93-
Please see [chart/kubedb](https://github.com/DoodleScheduling/kubedb) for the helm chart docs.
93+
Please see [chart/k8sdb-controller](https://github.com/DoodleScheduling/k8sdb-controller) for the helm chart docs.
9494
9595
## Limitations
9696

api/v1beta1/mongodbdatabase_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1beta1
1818

1919
import (
20-
"github.com/doodlescheduling/kubedb/common/stringutils"
20+
"github.com/doodlescheduling/k8sdb-controller/common/stringutils"
2121
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222
)
2323

api/v1beta1/mongodbuser_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1beta1
1818

1919
import (
20-
"github.com/doodlescheduling/kubedb/common/stringutils"
20+
"github.com/doodlescheduling/k8sdb-controller/common/stringutils"
2121
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222
)
2323

api/v1beta1/postgresqldatabase_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1beta1
1818

1919
import (
20-
"github.com/doodlescheduling/kubedb/common/stringutils"
20+
"github.com/doodlescheduling/k8sdb-controller/common/stringutils"
2121
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222
)
2323

api/v1beta1/postgresqluser_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1beta1
1818

1919
import (
20-
"github.com/doodlescheduling/kubedb/common/stringutils"
20+
"github.com/doodlescheduling/k8sdb-controller/common/stringutils"
2121
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222
)
2323

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apiVersion: v2
22
appVersion: 0.0.0
33
description: A kubernetes controller to deploy databases
4-
home: https://github.com/DoodleScheduling/kubedb
4+
home: https://github.com/DoodleScheduling/k8sdb-controller
55
keywords:
66
- kubernetes-controller
77
- mongodb
88
- postgresql
99
- vault
10-
name: kubedb
10+
name: k8sdb-controller
1111
sources:
12-
- https://github.com/DoodleScheduling/kubedb
12+
- https://github.com/DoodleScheduling/k8sdb-controller
1313
version: 0.0.0

chart/kubedb/README.md renamed to chart/k8sdb-controller/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# kubedb helm chart
1+
# k8sdb-controller helm chart
22

3-
Installs the [kubedb](https://github.com/DoodleScheduling/kubedb).
3+
Installs the [k8sdb-controller](https://github.com/DoodleScheduling/k8sdb-controller).
44

55
## Installing the Chart
66

7-
To install the chart with the release name `kubedb`:
7+
To install the chart with the release name `k8sdb-controller`:
88

99
```console
10-
helm upgrade --install kubedb chart/kubedb
10+
helm upgrade --install k8sdb-controller chart/k8sdb-controller
1111
```
1212

13-
This command deploys the kubedb with the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
13+
This command deploys the k8sdb-controller with the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
1414

1515
## Using the Chart
1616

@@ -30,5 +30,5 @@ podAnnotations:
3030
See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run the configuration command:
3131
3232
```sh
33-
$ helm show values kubedb/kubedb
33+
$ helm show values k8sdb-controller/k8sdb-controller
3434
```
File renamed without changes.

0 commit comments

Comments
 (0)