...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 name: couchdbs.edge.ncr.com
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7spec:
8 group: edge.ncr.com
9 names:
10 kind: CouchDB
11 listKind: CouchDBList
12 plural: couchdbs
13 singular: couchdb
14 scope: Cluster
15 versions:
16 - name: v1alpha1
17 additionalPrinterColumns:
18 - name: Ready
19 type: string
20 jsonPath: .status.conditions[?(@.type=="Ready")].status
21 - name: Status
22 type: string
23 jsonPath: .status.conditions[?(@.type=="Ready")].message
24 schema:
25 openAPIV3Schema:
26 type: object
27 description: CouchDB is the Schema for the Couchdbs API
28 properties:
29 apiVersion:
30 type: string
31 description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
32 kind:
33 type: string
34 description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
35 metadata:
36 type: object
37 spec:
38 type: object
39 description: CouchDBSpec defines the desired state of CouchDB
40 properties:
41 name:
42 type: string
43 status:
44 type: object
45 description: CouchDBStatus defines the observed state of a CouchDB
46 properties:
47 conditions:
48 type: array
49 items:
50 type: object
51 description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
52 properties:
53 type:
54 type: string
55 description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
56 maxLength: 316
57 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])$
58 status:
59 type: string
60 description: status of the condition, one of True, False, Unknown.
61 enum:
62 - "True"
63 - "False"
64 - Unknown
65 lastTransitionTime:
66 type: string
67 description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
68 format: date-time
69 message:
70 type: string
71 description: message is a human readable message indicating details about the transition. This may be an empty string.
72 maxLength: 32768
73 observedGeneration:
74 type: integer
75 description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
76 format: int64
77 minimum: 0
78 reason:
79 type: string
80 description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
81 maxLength: 1024
82 minLength: 1
83 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
84 required:
85 - lastTransitionTime
86 - message
87 - reason
88 - status
89 - type
90 projectNumber:
91 type: string
92 description: ProjectNumber is the unique number associated with each project after creation
93 projectRef:
94 type: string
95 description: ProjectRef is a reference to the GCP Project KCC Resource in namespace/name format
96 served: true
97 storage: true
98 subresources:
99 status: {}
View as plain text