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

Add service gateway info to db status #1157

Merged
merged 1 commit into from
Mar 6, 2024
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: 2 additions & 0 deletions apis/kubedb/v1alpha2/druid_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ type DruidStatus struct {
// Conditions applied to the database, such as approval or denial.
// +optional
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
2 changes: 2 additions & 0 deletions apis/kubedb/v1alpha2/elasticsearch_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ type ElasticsearchStatus struct {
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
AuthSecret *Age `json:"authSecret,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
2 changes: 2 additions & 0 deletions apis/kubedb/v1alpha2/etcd_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ type EtcdStatus struct {
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
AuthSecret *Age `json:"authSecret,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
2 changes: 2 additions & 0 deletions apis/kubedb/v1alpha2/ferretdb_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ type FerretDBStatus struct {
// Conditions applied to the database, such as approval or denial.
// +optional
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

// +kubebuilder:validation:Enum=server;client;
Expand Down
2 changes: 2 additions & 0 deletions apis/kubedb/v1alpha2/kafka_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ type KafkaStatus struct {
// Conditions applied to the database, such as approval or denial.
// +optional
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

type KafkaCruiseControl struct {
Expand Down
2 changes: 2 additions & 0 deletions apis/kubedb/v1alpha2/mariadb_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ type MariaDBStatus struct {
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
AuthSecret *Age `json:"authSecret,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
2 changes: 2 additions & 0 deletions apis/kubedb/v1alpha2/memcached_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ type MemcachedStatus struct {
// Conditions applied to the database, such as approval or denial.
// +optional
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
2 changes: 2 additions & 0 deletions apis/kubedb/v1alpha2/mongodb_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ type MongoDBStatus struct {
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
AuthSecret *Age `json:"authSecret,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
2 changes: 2 additions & 0 deletions apis/kubedb/v1alpha2/mysql_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ type MySQLStatus struct {
Conditions []kmapi.Condition `json:"conditions,omitempty"`
// +optional
AuthSecret *Age `json:"authSecret,omitempty"`
// +optional
Gateway *Gateway `json:"gateway,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
Loading
Loading