...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: couchdbusers.datasync.edge.ncr.com
8spec:
9 group: datasync.edge.ncr.com
10 names:
11 kind: CouchDBUser
12 listKind: CouchDBUserList
13 plural: couchdbusers
14 singular: couchdbuser
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 description: https://docs.couchdb.org/en/3.2.0/intro/security.html?highlight=user#users-documents
47 properties:
48 interval:
49 description: |-
50 Interval is how often the object will be reconciled, in order to prevent
51 drift.
52 type: string
53 provider:
54 description: Provider information about the data provider
55 properties:
56 name:
57 type: string
58 required:
59 - name
60 type: object
61 retryInterval:
62 description: |-
63 RetryInterval is how often to retry previously failed reconciliations. Defaults
64 to Interval if not provided.
65 type: string
66 serverRef:
67 properties:
68 name:
69 type: string
70 namespace:
71 type: string
72 required:
73 - name
74 - namespace
75 type: object
76 type:
77 type: string
78 user:
79 properties:
80 name:
81 type: string
82 roles:
83 items:
84 type: string
85 type: array
86 secretRef:
87 description: |-
88 SecretReference represents a Secret Reference. It has enough information to retrieve secret
89 in any namespace
90 properties:
91 name:
92 description: name is unique within a namespace to reference
93 a secret resource.
94 type: string
95 namespace:
96 description: namespace defines the space within which the
97 secret name must be unique.
98 type: string
99 type: object
100 x-kubernetes-map-type: atomic
101 type: object
102 required:
103 - serverRef
104 type: object
105 status:
106 default:
107 observedGeneration: -1
108 properties:
109 conditions:
110 items:
111 description: "Condition contains details for one aspect of the current
112 state of this API Resource.\n---\nThis struct is intended for
113 direct use as an array at the field path .status.conditions. For
114 example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
115 observations of a foo's current state.\n\t // Known .status.conditions.type
116 are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
117 +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
118 \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
119 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
120 \ // other fields\n\t}"
121 properties:
122 lastTransitionTime:
123 description: |-
124 lastTransitionTime is the last time the condition transitioned from one status to another.
125 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
126 format: date-time
127 type: string
128 message:
129 description: |-
130 message is a human readable message indicating details about the transition.
131 This may be an empty string.
132 maxLength: 32768
133 type: string
134 observedGeneration:
135 description: |-
136 observedGeneration represents the .metadata.generation that the condition was set based upon.
137 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
138 with respect to the current state of the instance.
139 format: int64
140 minimum: 0
141 type: integer
142 reason:
143 description: |-
144 reason contains a programmatic identifier indicating the reason for the condition's last transition.
145 Producers of specific condition types may define expected values and meanings for this field,
146 and whether the values are considered a guaranteed API.
147 The value should be a CamelCase string.
148 This field may not be empty.
149 maxLength: 1024
150 minLength: 1
151 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
152 type: string
153 status:
154 description: status of the condition, one of True, False, Unknown.
155 enum:
156 - "True"
157 - "False"
158 - Unknown
159 type: string
160 type:
161 description: |-
162 type of condition in CamelCase or in foo.example.com/CamelCase.
163 ---
164 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
165 useful (see .node.status.conditions), the ability to deconflict is important.
166 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
167 maxLength: 316
168 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])$
169 type: string
170 required:
171 - lastTransitionTime
172 - message
173 - reason
174 - status
175 - type
176 type: object
177 type: array
178 inventory:
179 description: |-
180 ResourceInventory contains a list of Kubernetes resource object references
181 that have been applied.
182 properties:
183 entries:
184 description: Entries of Kubernetes resource object references.
185 items:
186 description: ResourceRef contains the information necessary
187 to locate a resource within a cluster.
188 properties:
189 id:
190 description: |-
191 ID is the string representation of the Kubernetes resource object's metadata,
192 in the format '<namespace>_<name>_<group>_<kind>'.
193 type: string
194 v:
195 description: Version is the API version of the Kubernetes
196 resource object's kind.
197 type: string
198 required:
199 - id
200 - v
201 type: object
202 type: array
203 type: object
204 observedGeneration:
205 format: int64
206 type: integer
207 type: object
208 type: object
209 served: true
210 storage: true
211 subresources:
212 status: {}
View as plain text