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

allow to disable the gRPC server #2826

Merged
merged 1 commit into from
Aug 21, 2024
Merged

allow to disable the gRPC server #2826

merged 1 commit into from
Aug 21, 2024

Conversation

kkourt
Copy link
Contributor

@kkourt kkourt commented Aug 20, 2024

Currently, there is no way to disable the gRPC server. this commit checks if the provided address is empty and, if so, does not start the server. It also updates the helm configmap template so that if gRPC is disabled, then an empty address is passed to the agent.

Allow disabling gRPC either by selecting 'enabled:false' in the helm chart or by passing an empty address to the agent

Fixes: #2477

@kkourt kkourt added the release-note/bug This PR fixes an issue in a previous release of Tetragon. label Aug 20, 2024
@kkourt kkourt requested a review from a team as a code owner August 20, 2024 13:25
@kkourt kkourt requested a review from olsajiri August 20, 2024 13:25
Currently, there is no way to disable the gRPC server. this commit
checks if the provided address is empty and, if so, does not start the
server. It also updates the helm configmap template so that if gRPC is
disabled, then an empty address is passed to the agent.

Signed-off-by: Kornilios Kourtis <[email protected]>
@kkourt kkourt requested a review from mtardy as a code owner August 20, 2024 13:29
Copy link

netlify bot commented Aug 20, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 786d9b5
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/66c49a4f993e3e0008984748
😎 Deploy Preview https://deploy-preview-2826--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.

@kkourt kkourt merged commit 198fd5f into main Aug 21, 2024
47 checks passed
@kkourt kkourt deleted the pr/kkourt/fix-grpc-disable branch August 21, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/bug This PR fixes an issue in a previous release of Tetragon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gRPC server can't be disabled
2 participants