You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes for sure, patcher is for controllers to set finalizers and status conditions, we use it as such in Flux, and we should clearly state it’s purpose in docs.
I was using patcher in a project and discovered the hard way that it doesn't actually patch secrets.
The reason behind that is to do with this logic:
pkg/runtime/patch/patch.go
Lines 239 to 242 in a04ccbf
So it very deliberately checks
spec
field, which is something secrets and configmaps don't have.The text was updated successfully, but these errors were encountered: