<#5003 Update storage config in value-gcp.yaml> Pu...
# flyte-github
c
#5003 Update storage config in value-gcp.yaml Pull request opened by pingsutw on <!date^1709631744^{date_short}|2024-03-05T09:42:24Z> Tracking issue NA Why are the changes needed? The current config is incorrect. Not sure how does it work before. flyte/flytestdlib/storage/config.go Lines 47 to 65 in</flyteorg/flyte/commit/74b0a1b93a91c1fb05d5e8678fc46398d8864d7b|74b0a1b> | type Config struct { | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Type Type
json:"type" pflag:",Sets the type of storage to configure [s3/minio/local/mem/stow]."
| | // Deprecated: Please use StowConfig instead | | Connection ConnectionConfig
json:"connection"
| | Stow StowConfig
json:"stow,omitempty" pflag:",Storage config for stow backend."
| | | | // Container here is misleading, it refers to a Bucket (AWS S3) like blobstore entity. In some terms it could be a table | | InitContainer string
json:"container" pflag:",Initial container (in s3 a bucket) to create -if it doesn't exist-.'"
| | // By default, if this is not enabled, multiple containers are not supported by the storage layer. Only the configured
container
InitContainer will be allowed to requests data from. But, if enabled then data will be loaded to written to any | | // container specified in the DataReference. | | MultiContainerEnabled bool
json:"enable-multicontainer" pflag:",If this is true, then the container argument is overlooked and redundant. This config will automatically open new connections to new containers/buckets as they are encountered"
| | // Caching is recommended to improve the performance of underlying systems. It caches the metadata and resolving | | // inputs is accelerated. The size of the cache is large so understand how to configure the cache. | | // TODO provide some default config choices | | // If this section is skipped, Caching is disabled | | Cache CachingConfig
json:"cache"
| | Limits LimitsConfig
json:"limits" pflag:",Sets limits for stores."
| | DefaultHTTPClient HTTPClientConfig
json:"defaultHttpClient" pflag:",Sets the default http client config."
| | SignedURL SignedURLConfig
json:"signedUrl" pflag:",Sets config for SignedURL."
| What changes were proposed in this pull request? Update storage config How was this patch tested? local single binary Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs NA Docs link NA flyteorg/flyte