Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NETOBSERV-304: fix update reconciliation of eBPF agent #85

Merged
merged 1 commit into from
Apr 21, 2022
Merged

NETOBSERV-304: fix update reconciliation of eBPF agent #85

merged 1 commit into from
Apr 21, 2022

Conversation

mariomac
Copy link
Contributor

replaces manual comparison of fields by equality.Semantic.DeepDerivative, which skips fields of the "actual" state that are not in the "desired" state (e.g. these fields that are added by Kubernetes as metadata)

Copy link
Member

@jotak jotak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm (not tested)

So is that DeepDerivative the silver bullet that we should use everywhere to check for changes?

@openshift-ci
Copy link

openshift-ci bot commented Apr 21, 2022

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 12590a3 into netobserv:main Apr 21, 2022
@mariomac mariomac deleted the reconcile branch April 21, 2022 14:57
@mariomac
Copy link
Contributor Author

@jotak I don't dare to say "silver bullet" but it seems pretty useful for most cases.

KalmanMeth pushed a commit to KalmanMeth/network-observability-operator that referenced this pull request Feb 13, 2023
JSON decode: keep value types, do not convert to string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants