...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: couchdbreplicationdocs.datasync.edge.ncr.com
8spec:
9 group: datasync.edge.ncr.com
10 names:
11 kind: CouchDBReplicationDoc
12 listKind: CouchDBReplicationDocList
13 plural: couchdbreplicationdocs
14 singular: couchdbreplicationdoc
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/stable/replication/replicator.html#documents-describing-the-same-replication
47 properties:
48 continuous:
49 type: boolean
50 createTarget:
51 type: boolean
52 id:
53 type: string
54 source:
55 type: string
56 target:
57 type: string
58 type: object
59 status:
60 properties:
61 conditions:
62 items:
63 description: "Condition contains details for one aspect of the current
64 state of this API Resource.\n---\nThis struct is intended for
65 direct use as an array at the field path .status.conditions. For
66 example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
67 observations of a foo's current state.\n\t // Known .status.conditions.type
68 are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
69 +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
70 \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
71 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
72 \ // other fields\n\t}"
73 properties:
74 lastTransitionTime:
75 description: |-
76 lastTransitionTime is the last time the condition transitioned from one status to another.
77 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
78 format: date-time
79 type: string
80 message:
81 description: |-
82 message is a human readable message indicating details about the transition.
83 This may be an empty string.
84 maxLength: 32768
85 type: string
86 observedGeneration:
87 description: |-
88 observedGeneration represents the .metadata.generation that the condition was set based upon.
89 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
90 with respect to the current state of the instance.
91 format: int64
92 minimum: 0
93 type: integer
94 reason:
95 description: |-
96 reason contains a programmatic identifier indicating the reason for the condition's last transition.
97 Producers of specific condition types may define expected values and meanings for this field,
98 and whether the values are considered a guaranteed API.
99 The value should be a CamelCase string.
100 This field may not be empty.
101 maxLength: 1024
102 minLength: 1
103 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
104 type: string
105 status:
106 description: status of the condition, one of True, False, Unknown.
107 enum:
108 - "True"
109 - "False"
110 - Unknown
111 type: string
112 type:
113 description: |-
114 type of condition in CamelCase or in foo.example.com/CamelCase.
115 ---
116 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
117 useful (see .node.status.conditions), the ability to deconflict is important.
118 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
119 maxLength: 316
120 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])$
121 type: string
122 required:
123 - lastTransitionTime
124 - message
125 - reason
126 - status
127 - type
128 type: object
129 type: array
130 type: object
131 type: object
132 served: true
133 storage: true
134 subresources:
135 status: {}
View as plain text