...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: couchdbreplicationsets.datasync.edge.ncr.com
8spec:
9 group: datasync.edge.ncr.com
10 names:
11 kind: CouchDBReplicationSet
12 listKind: CouchDBReplicationSetList
13 plural: couchdbreplicationsets
14 singular: couchdbreplicationset
15 scope: Namespaced
16 versions:
17 - additionalPrinterColumns:
18 - jsonPath: .status.conditions[?(@.type=="Ready")].status
19 name: Ready
20 type: string
21 - jsonPath: .status.conditions[?(@.type=="Ready")].message
22 name: Status
23 type: string
24 name: v1alpha1
25 schema:
26 openAPIV3Schema:
27 properties:
28 apiVersion:
29 description: |-
30 APIVersion defines the versioned schema of this representation of an object.
31 Servers should convert recognized schemas to the latest internal value, and
32 may reject unrecognized values.
33 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
34 type: string
35 kind:
36 description: |-
37 Kind is a string value representing the REST resource this object represents.
38 Servers may infer this from the endpoint the client submits requests to.
39 Cannot be updated.
40 In CamelCase.
41 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
42 type: string
43 metadata:
44 type: object
45 spec:
46 properties:
47 datasets:
48 items:
49 description: Dataset represents a database and associated configuration
50 properties:
51 config:
52 description: ReplConfig CouchDB replication settings from https://docs.couchdb.org/en/stable/json-structure.html?highlight=checkpoint_interval#replication-settings
53 properties:
54 cancel:
55 type: boolean
56 continuous:
57 type: boolean
58 create_target:
59 type: boolean
60 doc_ids:
61 items:
62 type: string
63 type: array
64 filter:
65 type: string
66 interval:
67 type: string
68 query_params:
69 type: string
70 selector:
71 type: string
72 since_seq:
73 type: string
74 source_proxy:
75 type: string
76 target_proxy:
77 type: string
78 use_checkpoints:
79 type: boolean
80 required:
81 - cancel
82 - continuous
83 - create_target
84 - doc_ids
85 - filter
86 - interval
87 - query_params
88 - selector
89 - since_seq
90 - source_proxy
91 - target_proxy
92 - use_checkpoints
93 type: object
94 deleted:
95 type: boolean
96 enterprise_unit_id:
97 type: string
98 name:
99 type: string
100 provider:
101 description: Provider information about the data provider
102 properties:
103 name:
104 type: string
105 required:
106 - name
107 type: object
108 stores:
109 items:
110 type: string
111 type: array
112 touchpoints:
113 items:
114 type: string
115 type: array
116 required:
117 - config
118 - name
119 type: object
120 type: array
121 interval:
122 description: |-
123 Interval is how often the object will be reconciled, in order to prevent
124 drift.
125 type: string
126 retryInterval:
127 description: |-
128 RetryInterval is how often to retry previously failed reconciliations. Defaults
129 to Interval if not provided.
130 type: string
131 source:
132 description: 'Note: must be a ReplicationCredentials (username, password,
133 dbname, uri)'
134 properties:
135 name:
136 description: name is unique within a namespace to reference a
137 secret resource.
138 type: string
139 namespace:
140 description: namespace defines the space within which the secret
141 name must be unique.
142 type: string
143 type: object
144 x-kubernetes-map-type: atomic
145 target:
146 properties:
147 name:
148 type: string
149 namespace:
150 type: string
151 required:
152 - name
153 - namespace
154 type: object
155 required:
156 - datasets
157 - source
158 - target
159 type: object
160 status:
161 default:
162 observedGeneration: -1
163 properties:
164 conditions:
165 items:
166 description: "Condition contains details for one aspect of the current
167 state of this API Resource.\n---\nThis struct is intended for
168 direct use as an array at the field path .status.conditions. For
169 example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
170 observations of a foo's current state.\n\t // Known .status.conditions.type
171 are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
172 +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
173 \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
174 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
175 \ // other fields\n\t}"
176 properties:
177 lastTransitionTime:
178 description: |-
179 lastTransitionTime is the last time the condition transitioned from one status to another.
180 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
181 format: date-time
182 type: string
183 message:
184 description: |-
185 message is a human readable message indicating details about the transition.
186 This may be an empty string.
187 maxLength: 32768
188 type: string
189 observedGeneration:
190 description: |-
191 observedGeneration represents the .metadata.generation that the condition was set based upon.
192 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
193 with respect to the current state of the instance.
194 format: int64
195 minimum: 0
196 type: integer
197 reason:
198 description: |-
199 reason contains a programmatic identifier indicating the reason for the condition's last transition.
200 Producers of specific condition types may define expected values and meanings for this field,
201 and whether the values are considered a guaranteed API.
202 The value should be a CamelCase string.
203 This field may not be empty.
204 maxLength: 1024
205 minLength: 1
206 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
207 type: string
208 status:
209 description: status of the condition, one of True, False, Unknown.
210 enum:
211 - "True"
212 - "False"
213 - Unknown
214 type: string
215 type:
216 description: |-
217 type of condition in CamelCase or in foo.example.com/CamelCase.
218 ---
219 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
220 useful (see .node.status.conditions), the ability to deconflict is important.
221 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
222 maxLength: 316
223 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
224 type: string
225 required:
226 - lastTransitionTime
227 - message
228 - reason
229 - status
230 - type
231 type: object
232 type: array
233 inventory:
234 description: Inventory contains a list of database names associated
235 with the replication set
236 items:
237 type: string
238 type: array
239 observedGeneration:
240 format: int64
241 type: integer
242 replications:
243 description: Replications contains a list of replication details
244 items:
245 properties:
246 dbname:
247 type: string
248 message:
249 type: string
250 status:
251 type: string
252 required:
253 - dbname
254 - message
255 - status
256 type: object
257 type: array
258 type: object
259 type: object
260 served: true
261 storage: true
262 subresources:
263 status: {}
View as plain text