Skip to content

Commit 42d526d

Browse files
authored
Merge pull request #8 from DoodleScheduling/tidy
tidy & cleanup
2 parents 6ff2371 + bc268b8 commit 42d526d

11 files changed

+26
-250
lines changed

api/v1beta1/mongodbdatabase_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (in *MongoDBDatabase) GetStatusConditions() *[]metav1.Condition {
3434
// MongoDBDatabaseStatus defines the observed state of MongoDBDatabase
3535
// IMPORTANT: Run "make" to regenerate code after modifying this file
3636
type MongoDBDatabaseStatus struct {
37-
// Conditions holds the conditions for the VaultBinding.
37+
// Conditions holds the conditions for the MongoDBDatabase.
3838
// +optional
3939
Conditions []metav1.Condition `json:"conditions,omitempty"`
4040
}

api/v1beta1/mongodbuser_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (in *MongoDBUser) GetStatusConditions() *[]metav1.Condition {
5252
// MongoDBUserStatus defines the observed state of MongoDBUser
5353
// IMPORTANT: Run "make" to regenerate code after modifying this file
5454
type MongoDBUserStatus struct {
55-
// Conditions holds the conditions for the VaultBinding.
55+
// Conditions holds the conditions for the MongoDBUser.
5656
// +optional
5757
Conditions []metav1.Condition `json:"conditions,omitempty"`
5858
}

api/v1beta1/postgresqldatabase_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (in *PostgreSQLDatabase) GetStatusConditions() *[]metav1.Condition {
3434
// PostgreSQLDatabaseStatus defines the observed state of PostgreSQLDatabase
3535
// IMPORTANT: Run "make" to regenerate code after modifying this file
3636
type PostgreSQLDatabaseStatus struct {
37-
// Conditions holds the conditions for the VaultBinding.
37+
// Conditions holds the conditions for the PostgreSQLDatabase.
3838
// +optional
3939
Conditions []metav1.Condition `json:"conditions,omitempty"`
4040
}

api/v1beta1/postgresqluser_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (in *PostgreSQLUser) GetStatusConditions() *[]metav1.Condition {
3434
// PostgreSQLUserStatus defines the observed state of PostgreSQLUser
3535
// IMPORTANT: Run "make" to regenerate code after modifying this file
3636
type PostgreSQLUserStatus struct {
37-
// Conditions holds the conditions for the VaultBinding.
37+
// Conditions holds the conditions for the PostgreSQLUser.
3838
// +optional
3939
Conditions []metav1.Condition `json:"conditions,omitempty"`
4040
}

chart/k8sdb-controller/Chart.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ keywords:
66
- kubernetes-controller
77
- mongodb
88
- postgresql
9-
- vault
109
name: k8sdb-controller
1110
sources:
1211
- https://github.com/DoodleScheduling/k8sdb-controller

config/crd/bases/dbprovisioning.infra.doodle.com_mongodbdatabases.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.3.0
7+
controller-gen.kubebuilder.io/version: v0.2.5
88
creationTimestamp: null
99
name: mongodbdatabases.dbprovisioning.infra.doodle.com
1010
spec:
@@ -91,7 +91,7 @@ spec:
9191
IMPORTANT: Run "make" to regenerate code after modifying this file'
9292
properties:
9393
conditions:
94-
description: Conditions holds the conditions for the VaultBinding.
94+
description: Conditions holds the conditions for the MongoDBDatabase.
9595
items:
9696
description: "Condition contains details for one aspect of the current
9797
state of this API Resource. --- This struct is intended for direct

config/crd/bases/dbprovisioning.infra.doodle.com_mongodbusers.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.3.0
7+
controller-gen.kubebuilder.io/version: v0.2.5
88
creationTimestamp: null
99
name: mongodbusers.dbprovisioning.infra.doodle.com
1010
spec:
@@ -84,7 +84,7 @@ spec:
8484
IMPORTANT: Run "make" to regenerate code after modifying this file'
8585
properties:
8686
conditions:
87-
description: Conditions holds the conditions for the VaultBinding.
87+
description: Conditions holds the conditions for the MongoDBUser.
8888
items:
8989
description: "Condition contains details for one aspect of the current
9090
state of this API Resource. --- This struct is intended for direct

config/crd/bases/dbprovisioning.infra.doodle.com_postgresqldatabases.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.3.0
7+
controller-gen.kubebuilder.io/version: v0.2.5
88
creationTimestamp: null
99
name: postgresqldatabases.dbprovisioning.infra.doodle.com
1010
spec:
@@ -91,7 +91,7 @@ spec:
9191
IMPORTANT: Run "make" to regenerate code after modifying this file'
9292
properties:
9393
conditions:
94-
description: Conditions holds the conditions for the VaultBinding.
94+
description: Conditions holds the conditions for the PostgreSQLDatabase.
9595
items:
9696
description: "Condition contains details for one aspect of the current
9797
state of this API Resource. --- This struct is intended for direct

config/crd/bases/dbprovisioning.infra.doodle.com_postgresqlusers.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.3.0
7+
controller-gen.kubebuilder.io/version: v0.2.5
88
creationTimestamp: null
99
name: postgresqlusers.dbprovisioning.infra.doodle.com
1010
spec:
@@ -84,7 +84,7 @@ spec:
8484
IMPORTANT: Run "make" to regenerate code after modifying this file'
8585
properties:
8686
conditions:
87-
description: Conditions holds the conditions for the VaultBinding.
87+
description: Conditions holds the conditions for the PostgreSQLUser.
8888
items:
8989
description: "Condition contains details for one aspect of the current
9090
state of this API Resource. --- This struct is intended for direct

go.mod

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,20 @@ module github.com/doodlescheduling/k8sdb-controller
33
go 1.13
44

55
require (
6-
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 // indirect
7-
github.com/coreos/go-etcd v2.0.0+incompatible // indirect
86
github.com/go-logr/logr v0.3.0
97
github.com/golang/snappy v0.0.2 // indirect
10-
github.com/gordonklaus/ineffassign v0.0.0-20210209182638-d0e41b2fc8ed // indirect
11-
github.com/hashicorp/errwrap v1.1.0
12-
github.com/hashicorp/vault/api v1.0.4
138
github.com/jackc/pgx/v4 v4.10.1
14-
github.com/mdempsky/unconvert v0.0.0-20200228143138-95ecdbfc0b5f // indirect
159
github.com/onsi/ginkgo v1.14.1
1610
github.com/onsi/gomega v1.10.2
17-
github.com/opennota/check v0.0.0-20180911053232-0c771f5545ff // indirect
1811
github.com/prometheus/common v0.10.0
19-
github.com/rs/xid v1.2.1
2012
github.com/spf13/pflag v1.0.5
2113
github.com/spf13/viper v1.7.0
22-
github.com/stripe/safesql v0.2.0 // indirect
23-
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 // indirect
24-
github.com/walle/lll v1.0.1 // indirect
2514
github.com/xdg/stringprep v1.0.0 // indirect
26-
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 // indirect
2715
go.mongodb.org/mongo-driver v1.4.4
16+
golang.org/x/tools v0.1.0 // indirect
2817
k8s.io/api v0.20.2
29-
k8s.io/apiextensions-apiserver v0.20.2
18+
k8s.io/apiextensions-apiserver v0.20.2 // indirect
3019
k8s.io/apimachinery v0.20.2
31-
k8s.io/cli-runtime v0.20.2
3220
k8s.io/client-go v0.20.2
3321
sigs.k8s.io/controller-runtime v0.8.0
3422
)

0 commit comments

Comments
 (0)