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
This is supposed to traverse data, find all objects of kind Ingress and patch them. However, currently patchKubernetesObjects also triggers on references, e.g. such as used by the patch-operator:
The targetObjectRef requires both apiVersion and kind to properly resolve the target object, but these two fields also trigger patchKubernetesObjects detection.
I'm not quite sure how to resolve this properly, since the recursive step is required. Maybe detecting a apiVersion and kind and not recursing into that object could work, but I'm not sure if that's correct or expected behavior.
The text was updated successfully, but these errors were encountered:
Consider the following code:
This is supposed to traverse
data
, find all objects of kindIngress
and patch them. However, currentlypatchKubernetesObjects
also triggers on references, e.g. such as used by thepatch-operator
:The
targetObjectRef
requires bothapiVersion
andkind
to properly resolve the target object, but these two fields also triggerpatchKubernetesObjects
detection.I'm not quite sure how to resolve this properly, since the recursive step is required. Maybe detecting a
apiVersion
andkind
and not recursing into that object could work, but I'm not sure if that's correct or expected behavior.The text was updated successfully, but these errors were encountered: