...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: gkeclusters.edge.ncr.com
8spec:
9 group: edge.ncr.com
10 names:
11 kind: GKECluster
12 listKind: GKEClusterList
13 plural: gkeclusters
14 singular: gkecluster
15 scope: Cluster
16 versions:
17 - additionalPrinterColumns:
18 - jsonPath: .spec.name
19 name: Cluster Name
20 type: string
21 - jsonPath: .spec.cluster_id
22 name: Cluster ID
23 type: string
24 - jsonPath: .spec.banner
25 name: Banner
26 type: string
27 - jsonPath: .spec.fleet
28 name: Fleet
29 type: string
30 - jsonPath: .spec.organization
31 name: Organization
32 type: string
33 - jsonPath: .spec.edge_id_syncing
34 name: EdgeID Syncing
35 type: boolean
36 - jsonPath: .status.conditions[?(@.type=="Ready")].status
37 name: Ready
38 type: string
39 - jsonPath: .status.conditions[?(@.type=="Ready")].message
40 name: Status
41 type: string
42 name: v1alpha1
43 schema:
44 openAPIV3Schema:
45 description: GKECluster is the Schema for the gkeclusters API
46 properties:
47 apiVersion:
48 description: |-
49 APIVersion defines the versioned schema of this representation of an object.
50 Servers should convert recognized schemas to the latest internal value, and
51 may reject unrecognized values.
52 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
53 type: string
54 kind:
55 description: |-
56 Kind is a string value representing the REST resource this object represents.
57 Servers may infer this from the endpoint the client submits requests to.
58 Cannot be updated.
59 In CamelCase.
60 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
61 type: string
62 metadata:
63 type: object
64 spec:
65 description: GKEClusterSpec defines the desired state of GKECluster
66 properties:
67 autoscale:
68 type: boolean
69 banner:
70 type: string
71 cluster_id:
72 type: string
73 edge_id_syncing:
74 type: boolean
75 fleet:
76 description: Type is the enum type representing Edge Fleets
77 type: string
78 location:
79 description: Fields required for GKE only
80 type: string
81 max_nodes:
82 type: integer
83 min_nodes:
84 type: integer
85 name:
86 type: string
87 node_version:
88 type: string
89 num_node:
90 type: integer
91 organization:
92 type: string
93 projectId:
94 type: string
95 required:
96 - banner
97 - fleet
98 - name
99 - organization
100 - projectId
101 type: object
102 status:
103 default:
104 observedGeneration: -1
105 description: GKEClusterStatus defines the observed state of GKECluster
106 properties:
107 conditions:
108 items:
109 description: "Condition contains details for one aspect of the current
110 state of this API Resource.\n---\nThis struct is intended for
111 direct use as an array at the field path .status.conditions. For
112 example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
113 observations of a foo's current state.\n\t // Known .status.conditions.type
114 are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
115 +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
116 \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
117 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
118 \ // other fields\n\t}"
119 properties:
120 lastTransitionTime:
121 description: |-
122 lastTransitionTime is the last time the condition transitioned from one status to another.
123 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
124 format: date-time
125 type: string
126 message:
127 description: |-
128 message is a human readable message indicating details about the transition.
129 This may be an empty string.
130 maxLength: 32768
131 type: string
132 observedGeneration:
133 description: |-
134 observedGeneration represents the .metadata.generation that the condition was set based upon.
135 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
136 with respect to the current state of the instance.
137 format: int64
138 minimum: 0
139 type: integer
140 reason:
141 description: |-
142 reason contains a programmatic identifier indicating the reason for the condition's last transition.
143 Producers of specific condition types may define expected values and meanings for this field,
144 and whether the values are considered a guaranteed API.
145 The value should be a CamelCase string.
146 This field may not be empty.
147 maxLength: 1024
148 minLength: 1
149 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
150 type: string
151 status:
152 description: status of the condition, one of True, False, Unknown.
153 enum:
154 - "True"
155 - "False"
156 - Unknown
157 type: string
158 type:
159 description: |-
160 type of condition in CamelCase or in foo.example.com/CamelCase.
161 ---
162 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
163 useful (see .node.status.conditions), the ability to deconflict is important.
164 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
165 maxLength: 316
166 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])$
167 type: string
168 required:
169 - lastTransitionTime
170 - message
171 - reason
172 - status
173 - type
174 type: object
175 type: array
176 inventory:
177 description: |-
178 ResourceInventory contains a list of Kubernetes resource object references
179 that have been applied.
180 properties:
181 entries:
182 description: Entries of Kubernetes resource object references.
183 items:
184 description: ResourceRef contains the information necessary
185 to locate a resource within a cluster.
186 properties:
187 id:
188 description: |-
189 ID is the string representation of the Kubernetes resource object's metadata,
190 in the format '<namespace>_<name>_<group>_<kind>'.
191 type: string
192 v:
193 description: Version is the API version of the Kubernetes
194 resource object's kind.
195 type: string
196 required:
197 - id
198 - v
199 type: object
200 type: array
201 type: object
202 observedGeneration:
203 format: int64
204 type: integer
205 type: object
206 type: object
207 served: true
208 storage: true
209 subresources:
210 status: {}
View as plain text