Skip to content

feat: warn if default ingress_settings is used in remote_functions #1419

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
merged 7 commits into from
Mar 3, 2025

Conversation

chelsea-lin
Copy link
Contributor

This change modifies the default ingress_settings to a sentinel object (None). While this initially defaults to 'all', a warning is now issued to users, indicating that the default will change and 'all' is less secure than 'internal-only'.

  • Fixes internal issue 397677177
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes internal issue 397677177🦕

@chelsea-lin chelsea-lin requested review from tswast and shobsi February 21, 2025 23:00
@chelsea-lin chelsea-lin requested review from a team as code owners February 21, 2025 23:00
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Feb 21, 2025
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. label Feb 21, 2025
@chelsea-lin chelsea-lin force-pushed the main_chelsealin_ingress_settings branch from 55fdddb to 6a92106 Compare February 21, 2025 23:14
@chelsea-lin chelsea-lin force-pushed the main_chelsealin_ingress_settings branch from 5ea80fb to 8c762af Compare February 27, 2025 22:59
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Feb 27, 2025
@chelsea-lin chelsea-lin requested a review from tswast February 27, 2025 23:03
Copy link
Collaborator

@tswast tswast left a comment

Choose a reason for hiding this comment

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

Thanks!

@chelsea-lin chelsea-lin enabled auto-merge (squash) March 3, 2025 18:14
@tswast tswast self-requested a review March 3, 2025 23:03
@chelsea-lin chelsea-lin merged commit dfd891a into main Mar 3, 2025
22 of 23 checks passed
@chelsea-lin chelsea-lin deleted the main_chelsealin_ingress_settings branch March 3, 2025 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants