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