On Secret delete, don't check against the ResourceVersion.
On a Delete event, the ResourceVersion for the Secret is not the same as previously stored when added or updated. pem.Have() may have incorrectly concluded that the PEM file was not stored, this fixes that error.
Showing
Please register or sign in to comment