Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Used edit to approve the InstallPlan due to a failing create/replace #465

Merged

Conversation

ppatierno
Copy link
Contributor

The createOrUpdate method always tries to do a create first but in our case it fails because we don't set the "create" permission on InstallPlan, we don't need that.
This PR changes to use the "edit" to update the resource for approval.

(because we don't need create RBAC permission)
@github-actions github-actions bot added the operator changes related to operator label Aug 2, 2021
Copy link
Contributor

@MikeEdgar MikeEdgar left a comment

Choose a reason for hiding this comment

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

LGTM. Running with the pending Strimzi bundle upgrade, the changes allowed the install plan to successfully be approved and installed.

@MikeEdgar MikeEdgar merged commit fdfdcb2 into bf2fc6cc711aee1a0c2a:main Aug 2, 2021
MikeEdgar pushed a commit that referenced this pull request Aug 2, 2021
@MikeEdgar MikeEdgar added this to the 0.9.1 milestone Aug 2, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
operator changes related to operator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants