Skip to content

Commit

Permalink
Merge pull request grafana/cortex-jsonnet#416 from grafana/chore/azur…
Browse files Browse the repository at this point in the history
…e-ruler

cortex: Define Azure object storage ruler args
  • Loading branch information
pracucci authored Nov 15, 2021
2 parents 4e69f2a + db807aa commit bdc3c89
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion operations/mimir/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@
ruler_enabled: false,
ruler_client_type: error 'you must specify a storage backend type for the ruler (azure, gcs, s3, local)',
ruler_storage_bucket_name: error 'must specify the ruler storage bucket name',
ruler_storage_azure_account_name: error 'must specify the ruler storage Azure account name',
ruler_storage_azure_account_key: error 'must specify the ruler storage Azure account key',

rulerClientConfig:
{
Expand All @@ -258,7 +260,11 @@
'ruler-storage.s3.region': $._config.aws_region,
'ruler-storage.s3.bucket-name': $._config.ruler_storage_bucket_name,
},
azure: {},
azure: {
'ruler-storage.azure.container-name': $._config.ruler_storage_bucket_name,
'ruler-storage.azure.account-name': $._config.ruler_storage_azure_account_name,
'ruler-storage.azure.account-key': $._config.ruler_storage_azure_account_key,
},
'local': {
'ruler-storage.local.directory': $._config.ruler_local_directory,
},
Expand Down

0 comments on commit bdc3c89

Please sign in to comment.