Skip to content

Conversation

@alxric
Copy link

@alxric alxric commented Nov 17, 2025

This to be more in line with how the other thanos components work, allowing you to specify the path to a yaml config file instead of passing the object storage config as individual parameters direcly.

@alxric alxric marked this pull request as ready for review November 17, 2025 23:41
@GregSharpe1
Copy link

Is this a duplicate of the work being done here?
#4

@MichaHoffmann / @verejoel was there ever an agreed pattern for using a configuration file over inline flags? We have made a change within our folk to support other cloud providers but this change would remove the need for that

cmd/convert.go Outdated
cmd.Flag("parquet.storage.s3.access_key", "access key for s3").Default("").Envar("PARQUET_STORAGE_S3_ACCESS_KEY").StringVar(&opts.s3AccessKey)
cmd.Flag("parquet.storage.s3.secret_key", "secret key for s3").Default("").Envar("PARQUET_STORAGE_S3_SECRET_KEY").StringVar(&opts.s3SecretKey)
cmd.Flag("parquet.storage.s3.insecure", "use http").Default("false").BoolVar(&opts.s3Insecure)
cmd.Flag("objstore-parquet.config-file", "YAML file that contains object store configuration for parquet storage. See format details: https://thanos.io/tip/thanos/storage.md/#configuration").StringVar(&opts.objStoreConfigFile)
Copy link
Collaborator

Choose a reason for hiding this comment

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

parquet.objstore-config-file and similar in other places?

This to be more in line with how the other thanos components work,
allowing you to specify the path to a yaml config file instead of
passing the object storage config as individual parameters direcly.

Signed-off-by: Alexander Rickardsson <[email protected]>
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.

3 participants