Skip to content
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

Query: Forward tenant information via StoreAPI #6530

Merged
merged 2 commits into from
Jul 20, 2023

Commits on Jul 18, 2023

  1. Querier: Forward tenant information downstream

    With this commit we attach tenant information to each query request and
    forward it via the StoreAPI to any downstream Store Gateways and
    Queriers.
    
    We add the following command lines options which mimics the tenant
    functionality in Receive. The options are currently hidden, as they
    provide no real functionality yet. This will come in future steps.
    
    --query.tenant-header
    --query.default-tenant
    --query.tenant-certificate
    
    Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
    jacobbaungard committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    c3ba304 View commit details
    Browse the repository at this point in the history
  2. Receive: Use CertificateField from Tenancy pkg

    These consts are now defined in the Tenancy package, so we should use
    those instead.
    
    Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
    jacobbaungard committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    3f25932 View commit details
    Browse the repository at this point in the history