- Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix bug in cluster scoped ansible operators #4850
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
Fix bug in cluster scoped ansible operators #4850
Conversation
Dependent object creation passing through the proxy failed to add an owner annotation, causing the objects not to be watched. Signed-off-by: austin <austin@redhat.com>
data.SetOwnerReferences(append(data.GetOwnerReferences(), owner.OwnerReference)) | ||
} else { | ||
err := handler.SetOwnerAnnotations(data, ownerObject) | ||
err := handler.SetOwnerAnnotations(ownerObject, data) |
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.
🤦♂️
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.
🧇 🌮 🍟
/lgtm |
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.
/lgtm
data.SetOwnerReferences(append(data.GetOwnerReferences(), owner.OwnerReference)) | ||
} else { | ||
err := handler.SetOwnerAnnotations(data, ownerObject) | ||
err := handler.SetOwnerAnnotations(ownerObject, data) |
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.
🧇 🌮 🍟
/cherrypick 1.7.x |
@asmacdo: cannot checkout In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherrypick v1.7.x |
/cherrypick v1.6.x |
/cherrypick v1.5.x |
@asmacdo: new pull request created: #4857 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@asmacdo: new pull request created: #4858 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@asmacdo: new pull request created: #4859 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Dependent object creation passing through the proxy failed to add an
owner annotation, causing the objects not to be watched.
Closes #4647
Signed-off-by: austin austin@redhat.com
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments
(seechangelog/fragments/00-template.yaml
)