Skip to content

Commit

Permalink
Remove managedFields and diffBase from ResourceClaim status (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkupferer authored Oct 31, 2024
1 parent 4e4d69e commit 23ab267
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions operator/resourcewatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class ResourceWatcher:

class CacheEntry:
def __init__(self, resource):
resource['metadata'].pop('managedFields', None)
if 'status' in resource:
resource['status'].pop('diffBase', None)
self.resource = resource
self.cache_datetime = datetime.now(timezone.utc)

Expand Down

0 comments on commit 23ab267

Please sign in to comment.