You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/crd/crd-appwrapper.yml
+91-10
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,6 @@ metadata:
5
5
controller-gen.kubebuilder.io/version: v0.14.0
6
6
name: appwrappers.workload.codeflare.dev
7
7
spec:
8
-
conversion:
9
-
strategy: Webhook
10
-
webhook:
11
-
clientConfig:
12
-
service:
13
-
name: webhook-service
14
-
namespace: system
15
-
path: /convert
16
-
conversionReviewVersions:
17
-
- v1
18
8
group: workload.codeflare.dev
19
9
names:
20
10
kind: AppWrapper
@@ -168,6 +158,97 @@ spec:
168
158
status:
169
159
description: AppWrapperStatus defines the observed state of the appwrapper
170
160
properties:
161
+
componentStatus:
162
+
description: ComponentStatus parallels the Components array in the Spec and tracks the actually deployed resources
163
+
items:
164
+
description: AppWrapperComponentStatus tracks the status of a single managed Component
165
+
properties:
166
+
apiVersion:
167
+
description: APIVersion is the APIVersion of the Component
168
+
type: string
169
+
conditions:
170
+
description: |-
171
+
Conditions hold the latest available observations of the Component's current state.
172
+
173
+
174
+
The type of the condition could be:
175
+
176
+
177
+
- ResourcesDeployed: The component is deployed on the cluster
178
+
items:
179
+
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}"
180
+
properties:
181
+
lastTransitionTime:
182
+
description: |-
183
+
lastTransitionTime is the last time the condition transitioned from one status to another.
184
+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
185
+
format: date-time
186
+
type: string
187
+
message:
188
+
description: |-
189
+
message is a human readable message indicating details about the transition.
190
+
This may be an empty string.
191
+
maxLength: 32768
192
+
type: string
193
+
observedGeneration:
194
+
description: |-
195
+
observedGeneration represents the .metadata.generation that the condition was set based upon.
196
+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
197
+
with respect to the current state of the instance.
198
+
format: int64
199
+
minimum: 0
200
+
type: integer
201
+
reason:
202
+
description: |-
203
+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
204
+
Producers of specific condition types may define expected values and meanings for this field,
205
+
and whether the values are considered a guaranteed API.
206
+
The value should be a CamelCase string.
207
+
This field may not be empty.
208
+
maxLength: 1024
209
+
minLength: 1
210
+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
211
+
type: string
212
+
status:
213
+
description: status of the condition, one of True, False, Unknown.
214
+
enum:
215
+
- "True"
216
+
- "False"
217
+
- Unknown
218
+
type: string
219
+
type:
220
+
description: |-
221
+
type of condition in CamelCase or in foo.example.com/CamelCase.
222
+
---
223
+
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
224
+
useful (see .node.status.conditions), the ability to deconflict is important.
225
+
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
0 commit comments