-
Notifications
You must be signed in to change notification settings - Fork 333
WPB-6717 ES Credentials #3959
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
Merged
battermann
merged 37 commits into
develop
from
WPB-6717-implement-credential-support-in-wires-elastic-search-interface
Mar 25, 2024
Merged
WPB-6717 ES Credentials #3959
Changes from 12 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
dd523dc
wip
battermann 96c108f
wip
battermann db56fd1
wip
battermann 9021159
tmp tracing
battermann ad83f89
wip
battermann 1520c06
wip
battermann d9d8b4b
use credentials from integration config locally
battermann 0b68437
credentials for additional write index
battermann f60b9e0
changelog
battermann 4d8fb4d
make local federation v0 test work
battermann 9221250
docs
battermann 6589704
Update docs/src/developer/reference/config-options.md
battermann dcf6fcf
little clean up
battermann a5c3863
enable ES security on CI
battermann df86aa2
add credential support for elasticsearch chart
battermann 9ee8965
Revert "enable ES security on CI"
battermann 0d7757d
mount secret volumes
battermann 52b4017
wip
battermann 4170565
blank secret
battermann e1b84ba
This reverts commit 9ee8965e4cb1bd803b814541f8fb5323d7725a8b.
battermann 437a3c4
charts/elasticsearch-index: Deal with lack of creds
akshaymankar 6260982
Revert "This reverts commit 9ee8965e4cb1bd803b814541f8fb5323d7725a8b."
akshaymankar ca5caac
Revert "Revert "This reverts commit 9ee8965e4cb1bd803b814541f8fb5323d…
akshaymankar 9cec195
add ES credentials to wire-server CI values
battermann 7e20309
make value a string instead of map
battermann 6458345
wip
battermann 72e0947
added secrets to elasticserach-index
battermann 07b20c6
added pre-install annotation to es secret
battermann 2a94f42
updated docs
battermann a8d4a4e
set password for elastic user for CI
battermann ff4facc
added auth for migrate data cmd
battermann d08fd6c
ES credentials for integration
battermann 93c38f0
fix test
battermann 34dcb4c
move credentials to es opts
battermann 9d12a78
wip config as yaml
battermann e2ec95e
updated brig template and simplified
battermann 6ea4086
updated docs
battermann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Support for Elasticsearch password authentication |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| -- This file is part of the Wire Server implementation. | ||
| -- | ||
| -- Copyright (C) 2024 Wire Swiss GmbH <opensource@wire.com> | ||
| -- | ||
| -- This program is free software: you can redistribute it and/or modify it under | ||
| -- the terms of the GNU Affero General Public License as published by the Free | ||
| -- Software Foundation, either version 3 of the License, or (at your option) any | ||
| -- later version. | ||
| -- | ||
| -- This program is distributed in the hope that it will be useful, but WITHOUT | ||
| -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
| -- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
| -- details. | ||
| -- | ||
| -- You should have received a copy of the GNU Affero General Public License along | ||
| -- with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
|
||
| module Data.Credentials where | ||
|
|
||
| import Data.Aeson (FromJSON) | ||
| import Data.Text | ||
| import Imports | ||
|
|
||
| -- | Generic credentials for authenticating a user. Usually used for deserializing from a secret yaml file. | ||
| data Credentials = Credentials | ||
| { username :: Text, | ||
| password :: Text | ||
| } | ||
| deriving stock (Generic) | ||
|
|
||
| instance FromJSON Credentials |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.