Skip to content

udf: enable TLS when secure=true using SslCredentials#245

Merged
YoshiakiNishimura merged 1 commit intomasterfrom
grpc_ssl_connect
Feb 26, 2026
Merged

udf: enable TLS when secure=true using SslCredentials#245
YoshiakiNishimura merged 1 commit intomasterfrom
grpc_ssl_connect

Conversation

@YoshiakiNishimura
Copy link
Contributor

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enables TLS support for UDF (User Defined Function) gRPC communication by implementing the secure configuration option that was previously unsupported. When secure=true is configured in the UDF settings, the system now creates a gRPC channel with SSL credentials instead of rejecting the configuration.

Changes:

  • Removed the error that rejected secure=true configurations
  • Added conditional logic to use SslCredentials when secure is enabled, or InsecureChannelCredentials when disabled
  • The SSL configuration uses default SslCredentialsOptions without custom certificate paths

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@kuron99 kuron99 left a comment

Choose a reason for hiding this comment

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

LGTM

@YoshiakiNishimura YoshiakiNishimura merged commit 3f77e0f into master Feb 26, 2026
4 checks passed
@YoshiakiNishimura YoshiakiNishimura deleted the grpc_ssl_connect branch February 26, 2026 09:56
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.

3 participants