Skip to content

Add metastore_uri deduced from old variables example #93

Open
fmassot wants to merge 1 commit intomainfrom
fmassot-patch-1
Open

Add metastore_uri deduced from old variables example #93
fmassot wants to merge 1 commit intomainfrom
fmassot-patch-1

Conversation

@fmassot
Copy link
Copy Markdown
Contributor

@fmassot fmassot commented Jun 27, 2024

No description provided.

Comment thread README.md
You can use `config.metastore_uri` or `QW_METASTORE_URI` in `extraEnvFrom` instead (see
[documentation](https://quickwit.io/docs/configuration/metastore-config) for
more details).
more details). `metastore_uri` can be built with the old variables like this: `postgres://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@$(POSTGRES_HOST):$(POSTGRES_PORT)/$(POSTGRES_DATABASE)`.
Copy link
Copy Markdown
Collaborator

@idrissneumann idrissneumann Jul 4, 2024

Choose a reason for hiding this comment

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

Why refer to this as "old variables" ? Because they seems aren't mentioned somewhere anymore.

I'd replace "old" with "already defined environment variables on the pod" which can take other names btw, for example: postgres://$(PG_USER):$(PG_PASSWORD)@$(PG_HOST):$(PG_PORT)/$(PG_DATABASE).

It'll work regardless of the name if those environment variables are defined on the pod with extraEnv.

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