Skip to content

Commit 35b28ba

Browse files
committed
modified hadrConfig
Signed-off-by: sabnaj <[email protected]>
1 parent a4053b5 commit 35b28ba

File tree

4 files changed

+10
-23
lines changed

4 files changed

+10
-23
lines changed

apis/kubedb/v1alpha2/db2_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ type DB2Spec struct {
8888

8989
// HADR configuration for DB2
9090
// +optional
91-
HADRConfig []core.LocalObjectReference `json:"hadrConfig,omitempty"`
91+
HADRConfig core.LocalObjectReference `json:"hadrConfig,omitempty"`
9292
}
9393

9494
// DB2Status defines the observed state of DB2.

apis/kubedb/v1alpha2/openapi_generated.go

Lines changed: 2 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/kubedb/v1alpha2/zz_generated.deepcopy.go

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crds/kubedb.com_db2s.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,12 @@ spec:
7878
- DoNotTerminate
7979
type: string
8080
hadrConfig:
81-
items:
82-
properties:
83-
name:
84-
default: ""
85-
type: string
86-
type: object
87-
x-kubernetes-map-type: atomic
88-
type: array
81+
properties:
82+
name:
83+
default: ""
84+
type: string
85+
type: object
86+
x-kubernetes-map-type: atomic
8987
healthChecker:
9088
default:
9189
failureThreshold: 3

0 commit comments

Comments
 (0)