-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
language/ansibleIssue is related to an Ansible operator projectIssue is related to an Ansible operator projectlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.triage/supportIndicates an issue that is a support question.Indicates an issue that is a support question.
Milestone
Description
Feature Request
Describe the problem you need a feature to resolve.
There are times during an Ansible Operator reconcile, when a k8s resource is created outside of Operator process. In order to help clean-up such resources by making them owned by the custom resource that is being reconciled, we will need to get hold of the uid of the custom resource. We can always fetch the custom resource in the Operator reconcile and get hold of the uid, but the custom resource might already have been fetched by the SDK and it can pass uid as ansible_operator_meta.uid. That would save an extra fetch on the custom resource.
Describe the solution you'd like.
Described above as part of problem statement.
Passing the uid as ansible_operator_meta.uid is an additive change and should not affect any Ansible Operator adopter
/language ansible
Metadata
Metadata
Assignees
Labels
language/ansibleIssue is related to an Ansible operator projectIssue is related to an Ansible operator projectlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.triage/supportIndicates an issue that is a support question.Indicates an issue that is a support question.