hub: make bucket optional for GCPUploadOptions

The GCP Bucket may be (and usually will be) set on the composer-worker.

Related to https://github.com/osbuild/osbuild-composer/pull/3023.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2022-10-24 14:56:56 +02:00 committed by Ondřej Budai
parent a90101bde9
commit 8939c3515f

View file

@ -194,7 +194,7 @@ OSBUILD_IMAGE_SCHEMA = {
"GCPUploadOptions": {
"type": "object",
"additionalProperties": False,
"required": ["region", "bucket"],
"required": ["region"],
"properties": {
"region": {
"type": "string"