Skip to content

Commit

Permalink
Merge pull request grafana/cortex-jsonnet#415 from grafana/chore/gene…
Browse files Browse the repository at this point in the history
…ric-ruler-objectstorage

cortex: Make ruler object storage support generic
  • Loading branch information
aknuds1 authored Nov 9, 2021
2 parents ca0bdc6 + e3ad382 commit 4e69f2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions operations/mimir/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -244,21 +244,21 @@

ruler_enabled: false,
ruler_client_type: error 'you must specify a storage backend type for the ruler (azure, gcs, s3, local)',
ruler_s3_bucket_name: error 'you must specify the ruler S3 bucket name',
ruler_gcs_bucket_name: error 'must specify a GCS bucket name',
ruler_storage_bucket_name: error 'must specify the ruler storage bucket name',

rulerClientConfig:
{
'ruler-storage.backend': $._config.ruler_client_type,
} +
{
gcs: {
'ruler-storage.gcs.bucket-name': $._config.ruler_gcs_bucket_name,
'ruler-storage.gcs.bucket-name': $._config.ruler_storage_bucket_name,
},
s3: {
'ruler-storage.s3.region': $._config.aws_region,
'ruler-storage.s3.bucket-name': $._config.ruler_s3_bucket_name,
'ruler-storage.s3.bucket-name': $._config.ruler_storage_bucket_name,
},
azure: {},
'local': {
'ruler-storage.local.directory': $._config.ruler_local_directory,
},
Expand Down

0 comments on commit 4e69f2a

Please sign in to comment.