Skip to content

verify fallback to default values if parameters are not defined in config file #1111

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

Merged

Conversation

nirrozenbaum
Copy link
Contributor

This PR adds a check to verify default configuration will be used if no parameters are defined in the config file.
please pay attention that picker plugins were not added in this PR since PR #1059 was updating pickers and as part of that update current change is covered for pickers in that PR.

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit a26e0ab
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/68665e6703e2c00008603809
😎 Deploy Preview https://deploy-preview-1111--gateway-api-inference-extension.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 project configuration.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 3, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nirrozenbaum

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from ahg-g and kfswain July 3, 2025 10:41
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 3, 2025
@nirrozenbaum
Copy link
Contributor Author

/retest

@ahg-g
Copy link
Contributor

ahg-g commented Jul 4, 2025

I would advocate for defaulting the plugin parameters struct itself, and default all in-tree plugin parameters it as part of SetDefaults_EndpointPickerConfig.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 4, 2025
@k8s-ci-robot k8s-ci-robot merged commit 0e1e964 into kubernetes-sigs:main Jul 4, 2025
9 checks passed
@nirrozenbaum nirrozenbaum deleted the check-config-params branch July 5, 2025 05:00
EyalPazz pushed a commit to EyalPazz/gateway-api-inference-extension that referenced this pull request Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants