forked from firebase/firebase-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrects validation of secrets in extension installation (firebase#3901)
* Corrects validation of secrets in extension installation * Simplifies askForParam and promptCreateSecret. With this change promptCreateSecret and promptReconfigureSecret both now handle their validation within their own functions. Once they return a string from within askForParam, that string will be valid. I do have questions over how reconfiguring a secret works when you choose to leave the value as is. * Return paramSpec.default when not reconfiguring an extension secret * GCS fixes (firebase#3854) * adding service account api calls * fixing edge case for function regions/buckets/triggers, added code to set the iam role on storage service agent * spacing * adding reducer to clean up code * fix additional edge cases * addressing comments * cleaning up names * exposing more location apis and clean up * linter * refactor into services file * fixing comments * clean up sinon stubs * changing dispatch function to undefined for noop & pubsub services * linter * Change conditional back to a ternary * Adds entry to Changelog Co-authored-by: joehan <joehanley@google.com> Co-authored-by: Cole Rogers <colerogers@users.noreply.github.com>
- Loading branch information
1 parent
e9d1e98
commit cddcddd
Showing
3 changed files
with
90 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
- Fixes issue when installing a Firebase Extension where secrets would be created before validation. | ||
- Fixes issue with filtering on a specific storage bucket using functions in the emulator (#3893) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters