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

feat(gRPC): add support mtls to secure grpc connections #47

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

rksharma95
Copy link
Contributor

@rksharma95 rksharma95 commented Mar 5, 2024

This PR adds mtls support to secure grpc connections between KubeArmor-Relay <-> KubeArmor and karmor <-> KubeArmor-Relay.

The following configurations has been added:

config values default description
--tlsEnabled true/false false enable or disable mtls
--tlsCertPath "valid directory path" /var/lib/kubearmor/tls path to the directory where ca.crt, server.crt, server.key, and client.crt files are present
--tlsCertProvider self/external external self: client and server certificates will be generated dynamically, external: use client, server and ca certificates provided using files

@rksharma95 rksharma95 changed the title feat(log): add support mtls to secure grpc connections feat(gRPC): add support mtls to secure grpc connections Mar 5, 2024
@daemon1024 daemon1024 requested a review from Shreyas220 March 11, 2024 06:23
Copy link
Member

@Shreyas220 Shreyas220 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Shreyas220 Shreyas220 merged commit 7f02b03 into kubearmor:main Mar 15, 2024
4 checks passed
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