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

config: add ignored fields #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FlameFactory
Copy link

Specify fields to skip sending object update. Will be applied to all objects. If after removal of these fields from k8s object all remaining fields will be equal, handler won't trigger sending update. Removing array elements is not supported. For example,

ignorefields:
  status:
  metadata:
    resourceVersion:
    managedFields:

will remove ".status", ".metadata.resourceVersion" and ".metadata.managedFields" from k8s object before comparing old & new k8s objects.

Specify fields to skip sending object update. Will be applied to all objects.
If after removal of these fields from k8s object all remaining fields will be equal,
handler won't trigger sending update. Removing array elements is not supported.
For example,
```yaml
ignorefields:
  status:
  metadata:
    resourceVersion:
    managedFields:
```
will remove ".status", ".metadata.resourceVersion" and ".metadata.managedFields"
from k8s object before comparing old & new k8s objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants