-
Notifications
You must be signed in to change notification settings - Fork 32
Add support for shutdownTime in sandbox.spec #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@flpanbin FYI |
cd6e3a3 to
0731570
Compare
0731570 to
05359f5
Compare
c8abdd8 to
12e852a
Compare
12e852a to
677b171
Compare
677b171 to
7c2cc57
Compare
7c2cc57 to
1edfade
Compare
1edfade to
797fdaa
Compare
182346c to
3b1d78b
Compare
3b1d78b to
e9d6040
Compare
* Add .spec.shutdownTime string that parses to a time * The child resources are deleted once the current time >= shutdownAt time * Sandbox is not deleted
e9d6040 to
a914d61
Compare
| // Update status to remove Ready condition | ||
| meta.SetStatusCondition(&sandbox.Status.Conditions, metav1.Condition{ | ||
| Type: string(sandboxv1alpha1.SandboxConditionReady), | ||
| Status: metav1.ConditionFalse, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this is not ready... The object has been reconciled and is not expected to change state. But let's see what feels natural in use
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: barney-s, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
pared down version of #21
implements #18 partially