Skip to content
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

Do not use ownerReference for EO role in separate watched namespace #4588

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Mar 16, 2021

Type of change

  • Bugfix

Description

When user configures TO or UO to watch a different namespace, a role needs to be created there. And it has to be created without the owner reference - otherwise would Kubernetes immediately garbage collect it and the TO/UO will not work.

This PR should be cheery-picked to 0.22.x branch and used for 0.22.1 patch release.

Checklist

  • Write tests
  • Make sure all tests pass
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.23.0 milestone Mar 16, 2021
@scholzj scholzj requested a review from a team March 16, 2021 21:36
@scholzj
Copy link
Member Author

scholzj commented Mar 17, 2021

/azp run regression

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj merged commit 86d471d into strimzi:master Mar 17, 2021
@scholzj scholzj deleted the fix-role-owner-reference-in-separate-watched-namespace branch March 17, 2021 11:28
scholzj added a commit that referenced this pull request Mar 17, 2021
AaruniAggarwal pushed a commit to AaruniAggarwal/strimzi-kafka-operator that referenced this pull request Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants