-
Notifications
You must be signed in to change notification settings - Fork 325
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
WPB-6717 ES Credentials #3959
WPB-6717 ES Credentials #3959
Conversation
51a8380
to
4d8fb4d
Compare
Shouldn't this be reflected in the docs somewhere? For example in the brig chart it's not obvious in what format |
Absolutely, I'll add it. |
Co-authored-by: Sven Tennie <sven.tennie@wire.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Only a few nitpicks.
services/brig/src/Brig/Options.hs
Outdated
setElasticsearchCredentials :: !(Maybe FilePathSecrets), | ||
-- | Credentials for additional ES index (maily used for migrations) | ||
setElasticsearchAdditionalCredentials :: !(Maybe FilePathSecrets) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this not part of ElasticSearchOpts
?
username: "elastic" | ||
password: "changeme" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels wrong to have this file because for RabbitMQ we have environment variables. We should be consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed in chat. there are other secrets which are configured in files. So we're already not consistent.
To avoid spending more time on this, we can make sure the helm charts are configured in a way that ensures we can change our minds on this later.
Checklist
changelog.d