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