-
Notifications
You must be signed in to change notification settings - Fork 211
Add ingress settings support #808
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
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hey @marcelgoya, this sounds like it would be a great feature to add. If you are willing to make a PR to add this, I can bring it through our internal API review process. |
Hi @joehan, I thought of it more as keeping both product libraries in sync in regards to feature parity as the firebase lib uses the google lib under the hood. I didn't know that this lib is community maintained :) |
Alright, that's done |
Thanks a ton @marcelgoya - and to clarify, we do maintain this library but we always appreciate community contributions :). Since this is an API change, I do need to get it reviewed before it is released, but I don't foresee anyone being against this. If all goes well, this should be released in 1 to 2 weeks. |
@joehan My pleasure, it was only a 5 minute change anyway :) Awesome, thanks for your help. |
This was approved! I'll merge your PR and get a new version released later today. Thanks again for the contribution! |
Is this feature already available? // index.ts
export const helloWorld = functions
.region("asia-northeast1")
.runWith({
ingressSettings: "ALLOW_INTERNAL_AND_GCLB",
})
.https.onRequest((_, res) => {
res.send("Hello from Firebase!");
}); But, I can access this function as follows:
My version info firebase-functions: 3.13.0 |
@joehan Was the PR merged? Are the ingress settings live? |
It seems this has been merged but not yet released. Is there any timeline on when the next release will be? |
It looks like this was released in v3.12.0. |
The runWidth function is missing the possibility to set the network ingress flag as compared to the official google cloud sdk:
https://cloud.google.com/functions/docs/networking/network-settings#gcloud
INGRESS_SETTINGS is one of the supported values for ingress settings. The possible values are:
The text was updated successfully, but these errors were encountered: