-
Notifications
You must be signed in to change notification settings - Fork 365
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
Add an optional cluster_name field to GetEventsResponse #3025
Conversation
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
90e393d
to
d0ebbb0
Compare
Add an optional cluster_name field to GetEventsResponse. To enable the field, set tetragon.clusterName Helm value. Signed-off-by: Michi Mutsuzaki <[email protected]>
d0ebbb0
to
f5781b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder if some default name would be better than empty string. "default-cluster-name" or better. With empty string we also will trigger warning that cluster name was not provided so we cant differentiate pods of same id running in different clusters, like development and production etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what warning will it trigger? having default cluster name won't help differentiating events from different clusters right? 💭
edit: also i mildly prefer not changing the behavior for existing installations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i mean we in Hypershield will look for not specified cluster name and trigger warning, not on Tetragon side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, just one comment regarding default name , otherwise all is good. Hopefully users will provide us cluster names, eventually they will.
Add an optional cluster_name field to GetEventsResponse. To enable the field, set tetragon.clusterName Helm value.