-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Refactoring of azure obj store #3957 #3970
Merged
bwplotka
merged 18 commits into
thanos-io:main
from
wiardvanrij:feature/refactor-azure-objstore
Jul 5, 2021
+389
−113
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2d9d9bc
Rebased feature - initial commit of azure obj store extend
wiardvanrij 321c0a8
use custom cortex to fix config change
wiardvanrij dcb5060
modules acting up
wiardvanrij ad9b8cf
remove sprint
wiardvanrij 5487f3e
adds dot
wiardvanrij 27444e7
removed need for changes on cortex side
wiardvanrij 9897864
adds changelog
wiardvanrij be8533a
Update docs/storage.md
wiardvanrij 9184805
Update pkg/objstore/azure/azure_test.go
wiardvanrij bed1bb9
Update pkg/objstore/azure/azure_test.go
wiardvanrij a3b8715
update a few cleanups
wiardvanrij 105d2be
fixes go.mod and go.sum?
wiardvanrij cdfa94e
fixes whitespace
wiardvanrij fc2461e
fixes space
wiardvanrij a8aa4e5
updates azure Go-autorest
wiardvanrij e8a0e0f
fixes readme
wiardvanrij f094476
fixes go.sum.. (╯°□°)╯︵ ┻━┻
wiardvanrij 092b159
e2e retest
wiardvanrij 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 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 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 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 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 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.
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.
Could tls_config be added instead of just
insecure_skip_verify
?I know blob storage itself does not support it but we'd like to use a proxy (by changing the
endpoint
in the configuration) with mTLS for blob storage to avoid having to provide the storage account key to every cluster we monitor.I also think it would be better to make the config as similar to Prometheus as possible for consistency and code resuse (if possible)
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.
yes and no. This is in line with all other storage options in Thanos: https://thanos.io/tip/thanos/storage.md/
There is some work being done to make these configs more logical, but for now I try to keep it aligned with how everything in Thanos works (:
edit:
We must also not confuse it on which part the TLS is for. I.e. this is for the connection towards whatever object store you have. Not to implement TLS on the component itself. Just for clarification.
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.
thanks for the answer, I guess the solution to this problem is to implement a custom proxy and run it as a sidecar, using https with a dummy certificate and
insecure_skip_verify
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.
Yea I understand the case, it's just that I don't feel making one specific change here. However, it would make sense to implement a generic tls_config for non-component related configs, but for 'object storage connections'. As this would/should be implemented not only for Azure Blob, but also for all the other options Thanos supports.
Perhaps you could create a new issue for this?