Skip to content

Commit 01e8bf8

Browse files
authored
Add .status.message and .status.startTime to InstallPlan. (#108)
StartTime is intended to be set by the controller when plan execution begins (that is, after approval and bundle unpacking, when step resources may actually be applied to the cluster) and supports retry and timeout features. Message provides a field to communicate detailed free-form messages to administrators about the status of the plan. Signed-off-by: Ben Luddy <[email protected]>
1 parent affd59f commit 01e8bf8

File tree

4 files changed

+31
-9
lines changed

4 files changed

+31
-9
lines changed

crds/operators.coreos.com_installplans.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ spec:
206206
type:
207207
description: InstallPlanConditionType describes the state of an InstallPlan at a certain point as a whole.
208208
type: string
209+
message:
210+
description: Message is a human-readable message containing detailed information that may be important to understanding why the plan has its current status.
211+
type: string
209212
phase:
210213
description: InstallPlanPhase is the current status of a InstallPlan as a whole.
211214
type: string
@@ -249,6 +252,10 @@ spec:
249252
status:
250253
description: StepStatus is the current status of a particular resource an in InstallPlan
251254
type: string
255+
startTime:
256+
description: StartTime is the time when the controller began applying the resources listed in the plan to the cluster.
257+
type: string
258+
format: date-time
252259
served: true
253260
storage: true
254261
subresources:

0 commit comments

Comments
 (0)