At the moment, the resources managed by Eirini follow this ownership scheme:
eiriniv1.Tasks own Jobs
Jobs own Secrets
This is a leftover of the REST flow, which needed to use Jobs as owners since there were no eiriniv1.Tasks. We should be able to make this much more straightforward by just assigning the eiriniv1.Task as the owner of all the resources we create.
At the moment, the resources managed by Eirini follow this ownership scheme:
eiriniv1.Task
s ownJob
sJob
s ownSecret
sThis is a leftover of the REST flow, which needed to use
Job
s as owners since there were noeiriniv1.Task
s. We should be able to make this much more straightforward by just assigning theeiriniv1.Task
as the owner of all the resources we create.