THOTH_CEPH_PREFIX should use the same mechanims as other env vars #2717
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
sig/stack-guidance
Categorizes an issue or PR as relevant to SIG Stack Guidance.
Problem statement
As a Thoth developer, I would like to have a single place defining ceph prefix
in CephStore, using and environment variable.
(Either in storages code itself, or in other components using storage)
Proposal description
Use same logic that for bucket and other (see
thoth/storages/ceph.py
).I think this needs some work on adapting storages codes which set the prefix
itself for "subprefixing".
Introducing a global prefix / sub prefix might be something to think about
Additional context
Relevant: #2700
Acceptance Criteria
CephStore().prefix == os.getenv('THOTH_CEPH_PREFIX')
/kind feature
/sig stack-guidance
The text was updated successfully, but these errors were encountered: