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

fix(install/deployment): use ownerreferences when checking for SAs #276

Merged

Conversation

ecordell
Copy link
Member

@ecordell ecordell commented Feb 8, 2018

this prevents a bug during CSV upgrades where serviceaccounts are
orphaned. Installing the new CSV would see the serviceaccount existed
and not update it, but it would ownerrefs to the old CSV and be gargabe
collected eventually.

this prevents a bug during CSV upgrades where serviceaccounts are
orphaned. Installing the new CSV would see the serviceaccount existed
and not update it, but it would ownerrefs to the old CSV and be gargabe
collected eventually.
@ecordell ecordell force-pushed the orphaned-resources-csv-upgrade branch 2 times, most recently from 2feed0c to 6d183ae Compare February 9, 2018 16:05
the responses we get from the listwatcher are missing this information
for some reason, hardcoding until we fix the underlying issue
Copy link
Member

@alecmerdler alecmerdler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

}

func AddNonBlockingOwner(object metav1.Object, owner Owner) {
// TODO: Remove as soon as possible
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird

@ecordell ecordell merged commit 3d36a83 into operator-framework:master Feb 9, 2018
njhale pushed a commit to njhale/operator-lifecycle-manager that referenced this pull request Sep 10, 2018
…urces-csv-upgrade

fix(install/deployment): use ownerreferences when checking for SAs
ecordell added a commit to ecordell/operator-lifecycle-manager that referenced this pull request Mar 8, 2019
…urces-csv-upgrade

fix(install/deployment): use ownerreferences when checking for SAs
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