Skip to content

Commit

Permalink
jsonnet: add memberlist_ring_enabled check condition for consul_confi…
Browse files Browse the repository at this point in the history
…g_map (#11312)

The jsonnet lib should not generate a ConfigMap for consul if you are using memberlist.

Fixes #11311
  • Loading branch information
sentoz authored Dec 1, 2023
1 parent cf84b2e commit a106b06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@

#### Jsonnet

* [11312](https://github.com/grafana/loki/pull/11312) **sentoz**: Loki ksonnet: Do not generate configMap for consul if you are using memberlist

* [11020](https://github.com/grafana/loki/pull/11020) **ashwanthgoli**: Loki ksonnet: Do not generate table-manager manifests if shipper store is in-use.

* [10784](https://github.com/grafana/loki/pull/10894) **slim-bean** Update index gateway client to use a headless service.
Expand Down
1 change: 1 addition & 0 deletions production/ksonnet/loki/memberlist.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,5 @@
// Disable the consul deployment if not migrating and using memberlist
consul_deployment: if $._config.memberlist_ring_enabled && !$._config.multikv_migration_enabled && !$._config.multikv_migration_teardown then {} else super.consul_deployment,
consul_service: if $._config.memberlist_ring_enabled && !$._config.multikv_migration_enabled && !$._config.multikv_migration_teardown then {} else super.consul_service,
consul_config_map: if $._config.memberlist_ring_enabled && !$._config.multikv_migration_enabled && !$._config.multikv_migration_teardown then {} else super.consul_config_map,
}

0 comments on commit a106b06

Please sign in to comment.