-
Notifications
You must be signed in to change notification settings - Fork 104
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
Bumping k8s to 1.20.2 and controller-runtime to 0.8.3 #692
Conversation
Please ignore the number of commits, LMLM in the code, and that it is not signed. Also please pay attention to the fact that I had to add |
81d99fe
to
cbbee38
Compare
cbbee38
to
7cf0f59
Compare
@liranmauda I think we need to understand why |
Never said it is not working. |
7cf0f59
to
02eb54a
Compare
After @dannyzaken and I looked, we saw that StringData is getting zeroed after Calling |
@@ -967,6 +967,9 @@ func (r *Reconciler) ReconcilePool() error { | |||
} | |||
|
|||
func (r *Reconciler) reconcilePvPool() error { | |||
if r.Secret.StringData == nil { |
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.
is it needed now, after you added SecretResetStringDataFromData
to ReconcileObject
?
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.
Tested it and yes, It is still needed.
- Bumping k8s to 1.20.2 - Bumping controller-runtime to 0.8.3 - Bumping github.com/openshift/cloud-credential-operator Signed-off-by: liranmauda <[email protected]>
02eb54a
to
01e5716
Compare
Explain the changes:
Bumping k8s to 1.20.2
Bumping controller-runtime to 0.8.3
Bumping
github.com/openshift/cloud-credential-operator
event changes:
MetaOld
toObjectOld
MetaNew
toObjectNew
Meta
toObject
Changed
runtime.Object
toclient.Object
(and in case of list toclient.ObjectList
)Updated the
EnqueueRequestsFromMapFunc
according to the new changesAdd
context
where neededAdded
util.SecretResetStringDataFromData
after Callingcontrollerutil.CreateOrUpdate
in system reconcileRemoved the Panic from
func ObjectKey
asclient.ObjectKeyFromObject
does not return error anymoreUpdate according to those Breaking changes:
Related:
#662
Fixes:
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1892335
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1892337