Skip to content

Support grpc options#188

Merged
iciclespider merged 4 commits into
crossplane:mainfrom
P0t4T0o:support-grpc-options
Nov 24, 2025
Merged

Support grpc options#188
iciclespider merged 4 commits into
crossplane:mainfrom
P0t4T0o:support-grpc-options

Conversation

@P0t4T0o

@P0t4T0o P0t4T0o commented Nov 20, 2025

Copy link
Copy Markdown
Contributor

Description of your changes

Fixes #187

I have:

  • Read and followed Crossplane's contribution process.
  • [ ] Added or updated unit tests for my change.

Signed-off-by: Matej Ohradzansky <matohradzansky@gmail.com>
Signed-off-by: Matej Ohradzansky <matohradzansky@gmail.com>
@P0t4T0o P0t4T0o marked this pull request as ready for review November 21, 2025 07:37
@P0t4T0o P0t4T0o requested review from bobh66 and negz as code owners November 21, 2025 07:37
@iciclespider

Copy link
Copy Markdown
Collaborator

@P0t4T0o If you can resolve the lint error, I'll get a new version of this released with it.

Signed-off-by: Matej Ohradzansky <matohradzansky@gmail.com>
@P0t4T0o

P0t4T0o commented Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

Hi @iciclespider,
linter issues should be fixed now. Thanks for having a look at this.

Comment thread crossplane/function/runtime.py Outdated
address: The address at which to listen for requests.
creds: The credentials used to authenticate requests.
insecure: Serve insecurely, without credentials or encryption.
options: Additional gRPC server options.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nitpick: we can give some option examples

@ezgidemirel ezgidemirel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR @P0t4T0o, LGTM!

Signed-off-by: Matej Ohradzansky <matohradzansky@gmail.com>
@iciclespider iciclespider merged commit 0dd06ef into crossplane:main Nov 24, 2025
6 checks passed
Comment on lines +20 to +21
from collections.abc import Sequence
from typing import Any

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We typically try to avoid importing types directly, but instead only import packages. I thought our linter should catch this. I'll update it.

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.

grpc message size configuration

4 participants