Skip to content

Commit a27b402

Browse files
committed
add objRef
Signed-off-by: sabnaj <sabnaj@appscode.com>
1 parent 4a5f836 commit a27b402

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apis/kubedb/v1alpha2/db2_hadr_types.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ type DB2HadrSpec struct {
5858
// ServiceTemplates is an optional configuration for services used to expose database
5959
// +optional
6060
ServiceTemplates []NamedServiceTemplateSpec `json:"serviceTemplates,omitempty"`
61+
62+
// +optional
63+
db2Ref *kmapi.ObjectReference `json:"db2Ref,omitempty"`
6164
}
6265

6366
// DB2HadrStatus defines the observed state of DB2Hadr.
@@ -71,8 +74,7 @@ type DB2HadrStatus struct {
7174
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
7275
// Conditions applied to the database, such as approval or denial.
7376
// +optional
74-
Conditions []kmapi.Condition `json:"conditions,omitempty"`
75-
db2Ref *kmapi.ObjectReference `json:"db2Ref,omitempty"`
77+
Conditions []kmapi.Condition `json:"conditions,omitempty"`
7678
}
7779

7880
// +kubebuilder:object:root=true

0 commit comments

Comments
 (0)