...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: couchdbdatabases.datasync.edge.ncr.com
8spec:
9 group: datasync.edge.ncr.com
10 names:
11 kind: CouchDBDatabase
12 listKind: CouchDBDatabaseList
13 plural: couchdbdatabases
14 singular: couchdbdatabase
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 - jsonPath: .spec.name
25 name: DB Name
26 type: string
27 name: v1alpha1
28 schema:
29 openAPIV3Schema:
30 properties:
31 apiVersion:
32 description: |-
33 APIVersion defines the versioned schema of this representation of an object.
34 Servers should convert recognized schemas to the latest internal value, and
35 may reject unrecognized values.
36 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
37 type: string
38 kind:
39 description: |-
40 Kind is a string value representing the REST resource this object represents.
41 Servers may infer this from the endpoint the client submits requests to.
42 Cannot be updated.
43 In CamelCase.
44 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
45 type: string
46 metadata:
47 type: object
48 spec:
49 description: https://docs.couchdb.org/en/stable/ddocs/ddocs.html#creation-and-structure
50 properties:
51 interval:
52 description: |-
53 Interval is how often the object will be reconciled, in order to prevent
54 drift.
55 type: string
56 name:
57 type: string
58 retryInterval:
59 description: |-
60 RetryInterval is how often to retry previously failed reconciliations. Defaults
61 to Interval if not provided.
62 type: string
63 security:
64 properties:
65 admins:
66 properties:
67 names:
68 items:
69 type: string
70 type: array
71 roles:
72 items:
73 type: string
74 type: array
75 type: object
76 members:
77 properties:
78 names:
79 items:
80 type: string
81 type: array
82 roles:
83 items:
84 type: string
85 type: array
86 type: object
87 type: object
88 serverRef:
89 properties:
90 name:
91 type: string
92 namespace:
93 type: string
94 required:
95 - name
96 - namespace
97 type: object
98 required:
99 - name
100 - serverRef
101 type: object
102 status:
103 default:
104 observedGeneration: -1
105 properties:
106 conditions:
107 items:
108 description: "Condition contains details for one aspect of the current
109 state of this API Resource.\n---\nThis struct is intended for
110 direct use as an array at the field path .status.conditions. For
111 example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
112 observations of a foo's current state.\n\t // Known .status.conditions.type
113 are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
114 +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
115 \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
116 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
117 \ // other fields\n\t}"
118 properties:
119 lastTransitionTime:
120 description: |-
121 lastTransitionTime is the last time the condition transitioned from one status to another.
122 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
123 format: date-time
124 type: string
125 message:
126 description: |-
127 message is a human readable message indicating details about the transition.
128 This may be an empty string.
129 maxLength: 32768
130 type: string
131 observedGeneration:
132 description: |-
133 observedGeneration represents the .metadata.generation that the condition was set based upon.
134 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
135 with respect to the current state of the instance.
136 format: int64
137 minimum: 0
138 type: integer
139 reason:
140 description: |-
141 reason contains a programmatic identifier indicating the reason for the condition's last transition.
142 Producers of specific condition types may define expected values and meanings for this field,
143 and whether the values are considered a guaranteed API.
144 The value should be a CamelCase string.
145 This field may not be empty.
146 maxLength: 1024
147 minLength: 1
148 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
149 type: string
150 status:
151 description: status of the condition, one of True, False, Unknown.
152 enum:
153 - "True"
154 - "False"
155 - Unknown
156 type: string
157 type:
158 description: |-
159 type of condition in CamelCase or in foo.example.com/CamelCase.
160 ---
161 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
162 useful (see .node.status.conditions), the ability to deconflict is important.
163 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
164 maxLength: 316
165 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])$
166 type: string
167 required:
168 - lastTransitionTime
169 - message
170 - reason
171 - status
172 - type
173 type: object
174 type: array
175 observedGeneration:
176 format: int64
177 type: integer
178 type: object
179 type: object
180 served: true
181 storage: true
182 subresources:
183 status: {}
View as plain text