You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration-tests/src/test/resources/dboperator/oracle-database-operator.yaml
+219-8Lines changed: 219 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -853,6 +853,135 @@ status:
853
853
---
854
854
apiVersion: apiextensions.k8s.io/v1
855
855
kind: CustomResourceDefinition
856
+
metadata:
857
+
annotations:
858
+
controller-gen.kubebuilder.io/version: v0.6.1
859
+
creationTimestamp: null
860
+
name: dataguardbrokers.database.oracle.com
861
+
spec:
862
+
group: database.oracle.com
863
+
names:
864
+
kind: DataguardBroker
865
+
listKind: DataguardBrokerList
866
+
plural: dataguardbrokers
867
+
singular: dataguardbroker
868
+
scope: Namespaced
869
+
versions:
870
+
- additionalPrinterColumns:
871
+
- jsonPath: .status.primaryDatabase
872
+
name: Primary
873
+
type: string
874
+
- jsonPath: .status.standbyDatabases
875
+
name: Standbys
876
+
type: string
877
+
- jsonPath: .spec.protectionMode
878
+
name: Protection Mode
879
+
type: string
880
+
- jsonPath: .status.clusterConnectString
881
+
name: Cluster Connect Str
882
+
priority: 1
883
+
type: string
884
+
- jsonPath: .status.externalConnectString
885
+
name: Connect Str
886
+
type: string
887
+
- jsonPath: .spec.primaryDatabaseRef
888
+
name: Primary Database
889
+
priority: 1
890
+
type: string
891
+
- jsonPath: .status.status
892
+
name: Status
893
+
type: string
894
+
name: v1alpha1
895
+
schema:
896
+
openAPIV3Schema:
897
+
description: DataguardBroker is the Schema for the dataguardbrokers API
898
+
properties:
899
+
apiVersion:
900
+
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
901
+
type: string
902
+
kind:
903
+
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
904
+
type: string
905
+
metadata:
906
+
type: object
907
+
spec:
908
+
description: DataguardBrokerSpec defines the desired state of DataguardBroker
909
+
properties:
910
+
fastStartFailOver:
911
+
properties:
912
+
enable:
913
+
type: boolean
914
+
strategy:
915
+
items:
916
+
description: FSFO strategy
917
+
properties:
918
+
sourceDatabaseRef:
919
+
type: string
920
+
targetDatabaseRefs:
921
+
type: string
922
+
type: object
923
+
type: array
924
+
type: object
925
+
loadBalancer:
926
+
type: boolean
927
+
nodeSelector:
928
+
additionalProperties:
929
+
type: string
930
+
type: object
931
+
primaryDatabaseRef:
932
+
type: string
933
+
protectionMode:
934
+
enum:
935
+
- MaxPerformance
936
+
- MaxAvailability
937
+
type: string
938
+
serviceAnnotations:
939
+
additionalProperties:
940
+
type: string
941
+
type: object
942
+
setAsPrimaryDatabase:
943
+
type: string
944
+
standbyDatabaseRefs:
945
+
items:
946
+
type: string
947
+
type: array
948
+
required:
949
+
- primaryDatabaseRef
950
+
- protectionMode
951
+
- standbyDatabaseRefs
952
+
type: object
953
+
status:
954
+
description: DataguardBrokerStatus defines the observed state of DataguardBroker
955
+
properties:
956
+
clusterConnectString:
957
+
type: string
958
+
externalConnectString:
959
+
type: string
960
+
primaryDatabase:
961
+
type: string
962
+
primaryDatabaseRef:
963
+
type: string
964
+
protectionMode:
965
+
type: string
966
+
standbyDatabases:
967
+
type: string
968
+
status:
969
+
type: string
970
+
type: object
971
+
type: object
972
+
served: true
973
+
storage: true
974
+
subresources:
975
+
status: {}
976
+
status:
977
+
acceptedNames:
978
+
kind: ""
979
+
plural: ""
980
+
conditions: []
981
+
storedVersions: []
982
+
---
983
+
apiVersion: apiextensions.k8s.io/v1
984
+
kind: CustomResourceDefinition
856
985
metadata:
857
986
annotations:
858
987
controller-gen.kubebuilder.io/version: v0.6.1
@@ -1915,7 +2044,7 @@ spec:
1915
2044
type: object
1916
2045
conditions:
1917
2046
items:
1918
-
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
2047
+
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n\ttype FooStatus struct{ \t // Represents the observations of a foo's current state. \t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\t // +patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map \t // +listMapKey=type \t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n\t // other fields \t}"
1919
2048
properties:
1920
2049
lastTransitionTime:
1921
2050
description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
@@ -2015,26 +2144,29 @@ spec:
2015
2144
- jsonPath: .status.edition
2016
2145
name: Edition
2017
2146
type: string
2147
+
- jsonPath: .status.sid
2148
+
name: Sid
2149
+
priority: 1
2150
+
type: string
2018
2151
- jsonPath: .status.status
2019
2152
name: Status
2020
2153
type: string
2021
2154
- jsonPath: .status.role
2022
2155
name: Role
2023
-
priority: 1
2024
2156
type: string
2025
2157
- jsonPath: .status.releaseUpdate
2026
2158
name: Version
2027
2159
type: string
2028
2160
- jsonPath: .status.connectString
2029
2161
name: Connect Str
2030
2162
type: string
2031
-
- jsonPath: .status.tcpsConnectString
2032
-
name: TCPS Connect Str
2033
-
type: string
2034
2163
- jsonPath: .status.pdbConnectString
2035
2164
name: Pdb Connect Str
2036
2165
priority: 1
2037
2166
type: string
2167
+
- jsonPath: .status.tcpsConnectString
2168
+
name: TCPS Connect Str
2169
+
type: string
2038
2170
- jsonPath: .status.tcpsPdbConnectString
2039
2171
name: TCPS Pdb Connect Str
2040
2172
priority: 1
@@ -2077,11 +2209,16 @@ spec:
2077
2209
type: string
2078
2210
cloneFrom:
2079
2211
type: string
2212
+
createAsStandby:
2213
+
type: boolean
2214
+
dgBrokerConfigured:
2215
+
type: boolean
2080
2216
edition:
2081
2217
enum:
2082
2218
- standard
2083
2219
- enterprise
2084
2220
- express
2221
+
- free
2085
2222
type: string
2086
2223
enableTCPS:
2087
2224
type: boolean
@@ -2142,6 +2279,8 @@ spec:
2142
2279
volumeName:
2143
2280
type: string
2144
2281
type: object
2282
+
primaryDatabaseRef:
2283
+
type: string
2145
2284
readinessCheckPeriod:
2146
2285
type: integer
2147
2286
replicas:
@@ -2185,7 +2324,7 @@ spec:
2185
2324
type: string
2186
2325
conditions:
2187
2326
items:
2188
-
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
2327
+
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n\ttype FooStatus struct{ \t // Represents the observations of a foo's current state. \t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\t // +patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map \t // +listMapKey=type \t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n\t // other fields \t}"
2189
2328
properties:
2190
2329
lastTransitionTime:
2191
2330
description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
0 commit comments