Skip to content

validation: fix bucket name validation for GCS and Azure #1370

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 1 commit into from
Feb 12, 2024

Conversation

psFried
Copy link
Member

@psFried psFried commented Feb 7, 2024

When validating storage configurations, we were previously using the same regex for all types of cloud storage. But it turns out that GCS is more permissive, and Azure is more restrictive. This introduces separate regexes for each type of cloud storage provider. For custom storage endpoints, the GCS regex is used, as it's the most permissive.


This change is Reviewable

When validating storage configurations, we were previously using the same regex
for all types of cloud storage. But it turns out that GCS is more permissive,
and Azure is more restrictive.  This introduces separate regexes for each type
of cloud storage provider.  For custom storage endpoints, the GCS regex is
used, as it's the most permissive.
@psFried psFried requested a review from jshearer February 7, 2024 22:31
Copy link
Contributor

@jshearer jshearer left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@psFried psFried merged commit 23dc935 into master Feb 12, 2024
@psFried psFried deleted the phil/bucket-names branch February 12, 2024 17:56
github-actions bot pushed a commit to estuary/homebrew-flowctl that referenced this pull request May 31, 2024
## What's Changed

* `sum` annotation now supports arbitrary precision using string-encoded numerics
* Add experimental `flowctl raw stats` sub-command
* Various minor JSON Schema handling improvements.
* Switch to simd-json for fast JSON parsing and transcoding.

### Filtered PRs impacting `flowctl`:

* crates/json: don't validate strings with underscores as integers or numbers by @williamhbaker in estuary/flow#1364
* Update `runtime::container::start()` to take a new `allow_local` flag by @jshearer in estuary/flow#1361
* json: fix ordering of integers greater than i64::MAX by @psFried in estuary/flow#1367
* validation: fix bucket name validation for GCS and Azure by @psFried in estuary/flow#1370
* thread through `--allow-local` argument when running locally by @psFried in estuary/flow#1374
* validation: allow unsatisfiable constraints on excluded fields by @psFried in estuary/flow#1375
* update a number of dependencies, including RocksDB (to 8.10) by @jgraettinger in estuary/flow#1389
* connector-init: set connector_type on protocol check Spec by @jgraettinger in estuary/flow#1400
* models/journals: region configuration for S3 storage mappings by @williamhbaker in estuary/flow#1410
* improve schema validation errors by including metadata about the collection that failed by @jgraettinger in estuary/flow#1408
* flowctl: resurrect stats subcommand under raw by @psFried in estuary/flow#1432
* make: codesign binaries on mac by @mdibaiee in estuary/flow#1436
* simd-doc, gazette, avro, and dekaf crates by @jgraettinger in estuary/flow#1448
* flowctl(preview): multiple bindings may read from one collection by @mdibaiee in estuary/flow#1466
* crates/doc: support arbitrary precision with `sum` annotation by @jgraettinger in estuary/flow#1477
* crates/doc: relax `sum` inspection to allow numeric strings by @jgraettinger in estuary/flow#1481

**Full Changelog**: estuary/flow@v0.3.12...v0.3.13
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.

2 participants