Skip to content

Commit

Permalink
k8s-operator: fix bug with updateOwners (a result of kopf upgrade)
Browse files Browse the repository at this point in the history
  • Loading branch information
nemethf committed Feb 3, 2021
1 parent 3cf89ee commit 62136da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions k8s-operator/l7mp.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ async def set_owner_status(s, o_type, fqn, logger):
version=owner['apiVersion'].split('/', 1)[1],
plural=owner['kind'].lower() + 's', # ?
namespaced=True,
subresources=['status'],
)
await kopf.clients.patching.patch_obj(
resource=resource,
Expand Down

0 comments on commit 62136da

Please sign in to comment.