Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Work-around controller-runtime bug until we get to operator-sdk 0.11.0 #236

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

kaczyns
Copy link
Member

@kaczyns kaczyns commented Oct 14, 2019

fixes #234
The controller-runtime client.Update() method is clearing the group/version/kind from the caller's object instance. Technically this is not controller-runtime's fault. However until we get to a version of controller-runtime that has the fix, this PR will save and restore the group/version/kind around the path that causes problems. I did not update the status path since that's the "end of the line" just before we return.

@mezarin mezarin merged commit 6400083 into kabanero-io:master Oct 15, 2019
@kaczyns kaczyns deleted the gvkBug branch October 30, 2019 13:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kabanero controller can't create object, owner version and kind are empty
2 participants