Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Remove the completionCallback property from the Task CR #198

Closed
danail-branekov opened this issue Apr 14, 2021 · 0 comments
Closed

Remove the completionCallback property from the Task CR #198

danail-branekov opened this issue Apr 14, 2021 · 0 comments
Labels
S Estimated complexity: low
Milestone

Comments

@danail-branekov
Copy link
Member

danail-branekov commented Apr 14, 2021

The callback URL is only used by CC. In a CRD world, one should monitor the custom resource, rather than expect being called back.

Implementation note

As we do this, we should also make sure task-reporter doesn't try to report on tasks created through the Task CRD.

@danail-branekov danail-branekov added this to the crds milestone Apr 14, 2021
@danail-branekov danail-branekov changed the title Remove the completionCallback from the Task CR Remove the completionCallback property from the Task CR Apr 14, 2021
@gcapizzi gcapizzi added the S Estimated complexity: low label Apr 19, 2021
kieron-dev pushed a commit to cloudfoundry/eirini that referenced this issue May 19, 2021
In the CRD world the CC would have to watch the Task Status rather than
be notified when a Task completes.

The task reporter now ignores any jobs that are owned by a Task CR.

Issue: cloudfoundry/eirini-release#198

Co-authored-by: Georgi Sabev <[email protected]>
kieron-dev pushed a commit that referenced this issue May 19, 2021
Issue: #198

Co-authored-by: Kieron Browne <[email protected]>
kieron-dev pushed a commit that referenced this issue May 19, 2021
eirini commit SHA: 994f8eaa5dcab1d00ea77ac3683350a019bc56ae
eirini commit message:
Remove completionCallback from Task CR Status

In the CRD world the CC would have to watch the Task Status rather than
be notified when a Task completes.

The task reporter now ignores any jobs that are owned by a Task CR.

Issue: #198

Co-authored-by: Georgi Sabev <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S Estimated complexity: low
Projects
None yet
Development

No branches or pull requests

4 participants