Skip to content

Commit 83e793a

Browse files
dinhxuanvutimflannagan
authored andcommitted
Regen go-bindata for crd changes for OperatorCondition (openshift#125)
Signed-off-by: Vu Dinh <[email protected]> Upstream-repository: api Upstream-commit: 0dcbd99f9e5fea8a2ffbad6088437809a07d6d27
1 parent b56cd6d commit 83e793a

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

staging/api/crds/operators.coreos.com_operatorconditions.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,10 @@ spec:
135135
type: string
136136
maxLength: 316
137137
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])$
138-
served: false
138+
served: true
139139
storage: false
140+
subresources:
141+
status: {}
140142
- name: v2
141143
schema:
142144
openAPIV3Schema:
@@ -154,19 +156,16 @@ spec:
154156
metadata:
155157
type: object
156158
spec:
157-
description: OperatorConditionSpec allows a cluster admin to convey information about the state of an operator to OLM, potentially overriding state reported by the operator.
159+
description: OperatorConditionSpec allows an operator to report state to OLM and provides cluster admin with the ability to manually override state reported by the operator.
158160
type: object
159161
properties:
160-
deployments:
161-
type: array
162-
items:
163-
type: string
164-
overrides:
162+
conditions:
165163
type: array
166164
items:
167165
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 }"
168166
type: object
169167
required:
168+
- lastTransitionTime
170169
- message
171170
- reason
172171
- status
@@ -203,7 +202,11 @@ spec:
203202
type: string
204203
maxLength: 316
205204
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])$
206-
conditions:
205+
deployments:
206+
type: array
207+
items:
208+
type: string
209+
overrides:
207210
type: array
208211
items:
209212
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 }"
@@ -250,7 +253,7 @@ spec:
250253
items:
251254
type: string
252255
status:
253-
description: OperatorConditionStatus allows an operator to convey information its state to OLM. The status may trail the actual state of a system.
256+
description: OperatorConditionStatus allows OLM to convey which conditions have been observed.
254257
type: object
255258
properties:
256259
conditions:

0 commit comments

Comments
 (0)