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

helm: omit backend: s3 when minio is disabled #6999

Conversation

dimitarvdimitrov
Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov commented Dec 26, 2023

This leads to having to manually override the value of blocks_storage.backend when using something other than S3. This is already how the ruler and alertmanager storages work.

This shouldn't break existing installations because S3 is already the default in Mimir.

This was prompted by this comment by @ksingh-scogo (thanks!)

For example:

mimir:
  structuredConfig:
    common:
      storage:
        backend: azure
        azure:
          account_key: "<YOUR KEY HERE>"
          account_name: <ACKT_NAME>
          endpoint_suffix: "blob.core.windows.net"
    blocks_storage:
      backend: azure ## Without this it doesn't work
      azure:
        container_name: mimir-dev-blocks

This leads to having to manually override the value of `blocks_storage.backend` when using something other than S3.

This shouldn't break existing installations because S3 is already the default in Mimir.

This was prompted by [this comment](#1901 (comment)) by ksingh-scogo (thanks!)

 For example:

```yaml
mimir:
  structuredConfig:
    common:
      storage:
        backend: azure
        azure:
          account_key: "<YOUR KEY HERE>"
          account_name: <ACKT_NAME>
          endpoint_suffix: "blob.core.windows.net"
    blocks_storage:
      backend: azure ## Without this it doesn't work
      azure:
        container_name: mimir-dev-blocks
```

Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
@dimitarvdimitrov dimitarvdimitrov merged commit 20b578a into main Jan 2, 2024
32 checks passed
@dimitarvdimitrov dimitarvdimitrov deleted the dimitar/helm/disable-explicit-s3-setting-when-not-using-minio branch January 2, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants