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

Add an optional cluster_name field to GetEventsResponse #3025

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

michi-covalent
Copy link
Contributor

@michi-covalent michi-covalent commented Oct 22, 2024

Add an optional cluster_name field to GetEventsResponse. To enable the field, set tetragon.clusterName Helm value.

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit d0ebbb0
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/6717392393970d0008887cfc
😎 Deploy Preview https://deploy-preview-3025--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Add an optional cluster_name field to GetEventsResponse. To enable the
field, set tetragon.clusterName Helm value.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
@michi-covalent michi-covalent changed the title Add cluster_name field Add an optional cluster_name field to GetEventsResponse Oct 22, 2024
@michi-covalent michi-covalent added the release-note/minor This PR introduces a minor user-visible change label Oct 22, 2024
@michi-covalent michi-covalent marked this pull request as ready for review October 22, 2024 17:54
@michi-covalent michi-covalent requested review from a team and mtardy as code owners October 22, 2024 17:54
Copy link

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.

Copy link
Contributor Author

@michi-covalent michi-covalent Oct 22, 2024

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.

Copy link

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.

Copy link

@nvzflow nvzflow left a 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.

@michi-covalent michi-covalent merged commit b83744f into main Oct 22, 2024
48 of 51 checks passed
@michi-covalent michi-covalent deleted the pr/michi/cluster-name branch October 22, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor This PR introduces a minor user-visible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants