Skip to content

Commit 837b6b0

Browse files
author
Martin Linkhorst
committed
update CDPResourceCleanupTask resource to the latest spec
1 parent 9681fc1 commit 837b6b0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cluster/manifests/deployment-service/00-crd-cleanup-task.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,21 @@ spec:
9797
status:
9898
description: CDPResourceCleanupTaskStatus is the status part of the CDPResourceCleanupTask.
9999
properties:
100+
phase:
101+
default: Created
102+
description: |-
103+
Phase reflects the current lifecycle phase of the resource cleanup task. The following values
104+
are currently available:
105+
Created: cleanup task was submitted to the cluster, the controller will clean up the resources described in it.
106+
Started: cleanup task was picked up by the controller and is in progress.
107+
Succeeded: cleanup task has finished successfully.
108+
Failed: cleanup task has finished with an error.
109+
enum:
110+
- Created
111+
- Started
112+
- Succeeded
113+
- Failed
114+
type: string
100115
resources:
101116
description: Status of resources in the cleanup task.
102117
items:
@@ -151,6 +166,7 @@ spec:
151166
type: object
152167
type: array
153168
required:
169+
- phase
154170
- resources
155171
type: object
156172
required:

0 commit comments

Comments
 (0)